Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-pdf/blob/main/corpus/expect/prose.txt # omega-pdf Omega PDF: read and write PDF files in Omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-pdf / corpus / expect / prose.txt` 72 lines · 4471 bytes Raw Blame History 1 A reader for the portable document format 2 This file was written for the omega-pdf test corpus. It is plain prose, typed by 3 hand, so that every word in the exported document is known in advance and its 4 text can be compared with what a reader prints. 5 The first job of a reader is to find the end of the file. The last lines name 6 the byte offset of the cross-reference section, and from there every object can 7 be found by its number. A file that was saved more than once has several 8 sections, each pointing to the one before it. 9 Some characters are outside plain ASCII: café, naïve, façade, Ångström, Øresund, 10 smörgåsbord, jalapeño, Zürich, déjà vu. Punctuation too: “double quotes”, 11 ‘single quotes’, an em dash — like this, an en dash in 1990–1999, an ellipsis…, 12 a bullet • and a euro sign €. Fine fish find fluffy flowers in the field. 13 Numbers are written as text: 3.14159, 2,718, 100%, 42 + 58 = 100. 14 A page tree holds the pages. Each page names its resources, its media box and 15 the streams that draw it. The streams are programs: operators that move a text 16 position and show strings in a font. The font says which character each byte 17 means. 18 When a stream is compressed, the reader inflates it first. Cross-reference 19 streams also use a predictor, which stores each row as the difference from the 20 row above; undoing that step is part of reading them. 21 The rest of this file repeats a paragraph so that the document runs to more than 22 one page. 23 Paragraph one. A reader that prints text in the order the file draws it does not 24 know about columns, tables or reading order on the page. It prints what the 25 content stream shows, line by line, with a space where the gap between two runs 26 is wide. 27 Paragraph two. A reader that prints text in the order the file draws it does not 28 know about columns, tables or reading order on the page. It prints what the 29 content stream shows, line by line, with a space where the gap between two runs 30 is wide. 31 Paragraph three. A reader that prints text in the order the file draws it does 32 not know about columns, tables or reading order on the page. It prints what the 33 content stream shows, line by line, with a space where the gap between two runs 34 is wide. 35 Paragraph four. A reader that prints text in the order the file draws it does 36 not know about columns, tables or reading order on the page. It prints what the 37 content stream shows, line by line, with a space where the gap between two runs 38 is wide. 39 Paragraph five. A reader that prints text in the order the file draws it does 40 not know about columns, tables or reading order on the page. It prints what the 41 content stream shows, line by line, with a space where the gap between two runs 42 is wide. 43 Paragraph six. A reader that prints text in the order the file draws it does not 44 know about columns, tables or reading order on the page. It prints what the 45 content stream shows, line by line, with a space where the gap between two runs 46 is wide. 47 Paragraph seven. A reader that prints text in the order the file draws it does 48 not know about columns, tables or reading order on the page. It prints what the 49 content stream shows, line by line, with a space where the gap between two runs 50 is wide. 51 Paragraph eight. A reader that prints text in the order the file draws it does 52 not know about columns, tables or reading order on the page. It prints what the 53 content stream shows, line by line, with a space where the gap between two runs 54 is wide. 55 Paragraph nine. A reader that prints text in the order the file draws it does 56 not know about columns, tables or reading order on the page. It prints what the 57 content stream shows, line by line, with a space where the gap between two runs 58 is wide. 59 Paragraph ten. A reader that prints text in the order the file draws it does not 60 know about columns, tables or reading order on the page. It prints what the 61 content stream shows, line by line, with a space where the gap between two runs 62 is wide. 63 Paragraph eleven. A reader that prints text in the order the file draws it does 64 not know about columns, tables or reading order on the page. It prints what the 65 content stream shows, line by line, with a space where the gap between two runs 66 is wide. 67 Paragraph twelve. A reader that prints text in the order the file draws it does 68 not know about columns, tables or reading order on the page. It prints what the 69 content stream shows, line by line, with a space where the gap between two runs 70 is wide. 71 The last line of the document. 72