A Minimal PDF
Two identical pages that draw the structure of an invoice with lines and rectangles, without a word of text: the file is about a dozen kilobytes and embeds no font.
A font file holds letters somebody else drew. Sometimes what a document needs is a mark nobody drew for you: your own logo, the tick your quality sheets use, a symbol your trade has and Unicode has not. The usual answer is to drop a picture in at every occurrence and then work out by hand how far to move along before the next word — which comes apart the day the text is translated or the size changes.
Here the marks are drawn by the program itself and set among the words like any letter, so they move with the text instead of being put back by hand. Two things follow. A mark can carry its own colour — the tick comes out green and the cross red wherever they are set, which no font read from a file can do — or it can state a shape and no colour at all, and then it is painted in the colour of the words around it: the same square comes out red on one line and blue on the next. And none of it costs you the text, because each mark is written down as the character it stands for: copying the line out of the finished file gives the characters back, a search finds them, and a screen reader reads them.
A trial copy, which is what the free monthly plan of this site runs on, traces every letter from the glyph its font gives, and a mark drawn by the program gives it nothing to trace. Set one among the words and a trial copy asks, in a plain sentence, for whichever of the two you would rather give it: a font carried inside the document, or a licence key.
Nothing is left out and nothing is simplified: this is the program exactly as it runs, for the developer who uses this library. The third is the description itself: a plain list of what the page has to say, which is what the service is sent.
Read the Rust source Read the Python source Read the JSON source
Open the document in English Open the document in French Open the document in German Open the document in Spanish Open the document in Italian Open the document in Portuguese
Two identical pages that draw the structure of an invoice with lines and rectangles, without a word of text: the file is about a dozen kilobytes and embeds no font.
The same document written twice: once as it is, once with its first page placed at the start of the file. The page gives, for each of the two, the number of bytes a browser must have received before it shows page 1.
One page for each paper size the library names, from A0 down to A6 and the American sizes, each giving its size in millimetres and inches; then pages laid on their side or upside down, and a banner ten metres long.
One document written twice: once uncompressed, once compressed. The page gives both file sizes and what the compression saved.
A page that opens without a password and prints like any other, but asks the reading software to forbid copying and pasting its text. The text is encrypted in the file: a program reading it byte by byte finds no sentence in it.
A page nothing shows until its password is typed in: no first line, no preview, no picture of it anywhere. The password is given on the example's page, to be tried.