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/tests/cases.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 / tests / cases.txt` 425 lines ยท 30388 bytes Raw Blame History 1 # omega-pdf gate cases (tests/gate.om). One case per line, fields separated by single spaces: 2 # ID EXIT STDIN EXPECT CMD ARGS... run build/gate/opdf CMD ARGS ("-" STDIN is /dev/null). 3 # ID EXIT STDIN EXPECT exec PROGRAM ARGS... run an installed oracle program instead (absolute path). 4 # EXPECT: "-" no stdout check; "=" stdout equals the previous case's stdout (build/gate/prev); 5 # "i:FILE" info against pdfinfo -rawdates (version, pages, encrypted, Title, Author, Producer, CreationDate; 6 # a value printed with a \xHH escape is not compared, counted as info-strings-not-compared); 7 # "p:FILE" pages against pdfinfo -box (each MediaBox number within 0.01, Rotate modulo 360, page count); 8 # "t:FILE" text against pdftotext -raw after the stated normalisation (every run of ASCII whitespace, 9 # including LF, CR and FF, becomes one space; leading and trailing whitespace removed); 10 # "g:N" the checker (Ghostscript nullpage) printed exactly N "Page " lines; any other EXPECT: exact bytes. 11 # Every nonzero exit must leave exactly one stderr line "opdf: ..." or "ozip: ..."; exit 0 an empty stderr. 12 # rob ID KIND FILE CMD robustness: FILE cut at 64 points and changed at 256 single bytes, opdf CMD each. 13 # Oracles (test only, never shipped): pdfinfo and pdftotext 24.02.0 (poppler-utils), Ghostscript 10.02.1; 14 # their recorded outputs are in corpus/expect (commands in corpus/ORACLE.txt and corpus/SOURCES.txt). 15 # 16 # ---- info, pages and text against the oracles: every valid corpus file ---- 17 i-encodings-notounicode 0 - i:corpus/expect/encodings-notounicode.pdfinfo info corpus/pdf/encodings-notounicode.pdf 18 p-encodings-notounicode 0 - p:corpus/expect/encodings-notounicode.box pages corpus/pdf/encodings-notounicode.pdf 19 t-encodings-notounicode 0 - t:corpus/expect/encodings-notounicode.txt text corpus/pdf/encodings-notounicode.pdf 20 i-encodings 0 - i:corpus/expect/encodings.pdfinfo info corpus/pdf/encodings.pdf 21 p-encodings 0 - p:corpus/expect/encodings.box pages corpus/pdf/encodings.pdf 22 t-encodings 0 - t:corpus/expect/encodings.txt text corpus/pdf/encodings.pdf 23 i-layout 0 - i:corpus/expect/layout.pdfinfo info corpus/pdf/layout.pdf 24 p-layout 0 - p:corpus/expect/layout.box pages corpus/pdf/layout.pdf 25 t-layout 0 - t:corpus/expect/layout.txt text corpus/pdf/layout.pdf 26 i-prose 0 - i:corpus/expect/prose.pdfinfo info corpus/pdf/prose.pdf 27 p-prose 0 - p:corpus/expect/prose.box pages corpus/pdf/prose.pdf 28 t-prose 0 - t:corpus/expect/prose.txt text corpus/pdf/prose.pdf 29 i-a85 0 - i:corpus/expect/a85.pdfinfo info corpus/gen/a85.pdf 30 p-a85 0 - p:corpus/expect/a85.box pages corpus/gen/a85.pdf 31 t-a85 0 - t:corpus/expect/a85.txt text corpus/gen/a85.pdf 32 i-a85flate 0 - i:corpus/expect/a85flate.pdfinfo info corpus/gen/a85flate.pdf 33 p-a85flate 0 - p:corpus/expect/a85flate.box pages corpus/gen/a85flate.pdf 34 t-a85flate 0 - t:corpus/expect/a85flate.txt text corpus/gen/a85flate.pdf 35 i-ahx 0 - i:corpus/expect/ahx.pdfinfo info corpus/gen/ahx.pdf 36 p-ahx 0 - p:corpus/expect/ahx.box pages corpus/gen/ahx.pdf 37 t-ahx 0 - t:corpus/expect/ahx.txt text corpus/gen/ahx.pdf 38 i-carray 0 - i:corpus/expect/carray.pdfinfo info corpus/gen/carray.pdf 39 p-carray 0 - p:corpus/expect/carray.box pages corpus/gen/carray.pdf 40 t-carray 0 - t:corpus/expect/carray.txt text corpus/gen/carray.pdf 41 i-differences 0 - i:corpus/expect/differences.pdfinfo info corpus/gen/differences.pdf 42 p-differences 0 - p:corpus/expect/differences.box pages corpus/gen/differences.pdf 43 t-differences 0 - t:corpus/expect/differences.txt text corpus/gen/differences.pdf 44 i-hybrid 0 - i:corpus/expect/hybrid.pdfinfo info corpus/gen/hybrid.pdf 45 p-hybrid 0 - p:corpus/expect/hybrid.box pages corpus/gen/hybrid.pdf 46 t-hybrid 0 - t:corpus/expect/hybrid.txt text corpus/gen/hybrid.pdf 47 i-image 0 - i:corpus/expect/image.pdfinfo info corpus/gen/image.pdf 48 p-image 0 - p:corpus/expect/image.box pages corpus/gen/image.pdf 49 t-image 0 - t:corpus/expect/image.txt text corpus/gen/image.pdf 50 i-incr 0 - i:corpus/expect/incr.pdfinfo info corpus/gen/incr.pdf 51 p-incr 0 - p:corpus/expect/incr.box pages corpus/gen/incr.pdf 52 t-incr 0 - t:corpus/expect/incr.txt text corpus/gen/incr.pdf 53 i-lenref 0 - i:corpus/expect/lenref.pdfinfo info corpus/gen/lenref.pdf 54 p-lenref 0 - p:corpus/expect/lenref.box pages corpus/gen/lenref.pdf 55 t-lenref 0 - t:corpus/expect/lenref.txt text corpus/gen/lenref.pdf 56 i-lzw 0 - i:corpus/expect/lzw.pdfinfo info corpus/gen/lzw.pdf 57 p-lzw 0 - p:corpus/expect/lzw.box pages corpus/gen/lzw.pdf 58 t-lzw 62 - - text corpus/gen/lzw.pdf 59 i-macroman 0 - i:corpus/expect/macroman.pdfinfo info corpus/gen/macroman.pdf 60 p-macroman 0 - p:corpus/expect/macroman.box pages corpus/gen/macroman.pdf 61 t-macroman 0 - t:corpus/expect/macroman.txt text corpus/gen/macroman.pdf 62 i-objstm 0 - i:corpus/expect/objstm.pdfinfo info corpus/gen/objstm.pdf 63 p-objstm 0 - p:corpus/expect/objstm.box pages corpus/gen/objstm.pdf 64 t-objstm 0 - t:corpus/expect/objstm.txt text corpus/gen/objstm.pdf 65 i-standard 0 - i:corpus/expect/standard.pdfinfo info corpus/gen/standard.pdf 66 p-standard 0 - p:corpus/expect/standard.box pages corpus/gen/standard.pdf 67 t-standard 0 - t:corpus/expect/standard.txt text corpus/gen/standard.pdf 68 i-textops 0 - i:corpus/expect/textops.pdfinfo info corpus/gen/textops.pdf 69 p-textops 0 - p:corpus/expect/textops.box pages corpus/gen/textops.pdf 70 t-textops 0 - t:corpus/expect/textops.txt text corpus/gen/textops.pdf 71 i-tounicode 0 - i:corpus/expect/tounicode.pdfinfo info corpus/gen/tounicode.pdf 72 p-tounicode 0 - p:corpus/expect/tounicode.box pages corpus/gen/tounicode.pdf 73 t-tounicode 0 - t:corpus/expect/tounicode.txt text corpus/gen/tounicode.pdf 74 i-type0 0 - i:corpus/expect/type0.pdfinfo info corpus/gen/type0.pdf 75 p-type0 0 - p:corpus/expect/type0.box pages corpus/gen/type0.pdf 76 t-type0 0 - t:corpus/expect/type0.txt text corpus/gen/type0.pdf 77 i-winansi 0 - i:corpus/expect/winansi.pdfinfo info corpus/gen/winansi.pdf 78 p-winansi 0 - p:corpus/expect/winansi.box pages corpus/gen/winansi.pdf 79 t-winansi 0 - t:corpus/expect/winansi.txt text corpus/gen/winansi.pdf 80 i-xrefstm 0 - i:corpus/expect/xrefstm.pdfinfo info corpus/gen/xrefstm.pdf 81 p-xrefstm 0 - p:corpus/expect/xrefstm.box pages corpus/gen/xrefstm.pdf 82 t-xrefstm 0 - t:corpus/expect/xrefstm.txt text corpus/gen/xrefstm.pdf 83 i-inherit 0 - i:corpus/expect/inherit.pdfinfo info corpus/gen/inherit.pdf 84 p-inherit 0 - p:corpus/expect/inherit.box pages corpus/gen/inherit.pdf 85 t-inherit 0 - t:corpus/expect/inherit.txt text corpus/gen/inherit.pdf 86 # 87 i-omegese 0 - i:corpus/expect/omegese.pdfinfo info corpus/pdf/omegese.pdf 88 p-omegese 0 - p:corpus/expect/omegese.box pages corpus/pdf/omegese.pdf 89 t-omegese 0 - t:corpus/expect/omegese.txt text corpus/pdf/omegese.pdf 90 s-omegese-a 0 - - split corpus/pdf/omegese.pdf 1 10 build/gate/omegese-a.pdf 91 s-omegese-b 0 - - split corpus/pdf/omegese.pdf 11 37 build/gate/omegese-b.pdf 92 m-omegese 0 - - merge build/gate/omegese-m.pdf build/gate/omegese-a.pdf build/gate/omegese-b.pdf 93 g-omegese-m 0 - g:37 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/omegese-m.pdf 94 x-omegese-m1 0 - - text corpus/pdf/omegese.pdf 95 x-omegese-m2 0 - = text build/gate/omegese-m.pdf 96 # 97 # ---- split and merge: checker accepts, page count, each page's text equal by opdf and by pdftotext, 98 # ---- and split then merge of all parts gives the source's pages, text and boxes ---- 99 s-prose-a 0 - - split corpus/pdf/prose.pdf 1 1 build/gate/prose-a.pdf 100 g-prose-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/prose-a.pdf 101 x-prose-a1 0 - - text corpus/pdf/prose.pdf 1 1 102 x-prose-a2 0 - = text build/gate/prose-a.pdf 103 o-prose-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/pdf/prose.pdf - 104 o-prose-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/prose-a.pdf - 105 s-prose-b 0 - - split corpus/pdf/prose.pdf 2 2 build/gate/prose-b.pdf 106 g-prose-b 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/prose-b.pdf 107 x-prose-b1 0 - - text corpus/pdf/prose.pdf 2 2 108 x-prose-b2 0 - = text build/gate/prose-b.pdf 109 o-prose-b1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 2 -l 2 corpus/pdf/prose.pdf - 110 o-prose-b2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/prose-b.pdf - 111 m-prose 0 - - merge build/gate/prose-m.pdf build/gate/prose-a.pdf build/gate/prose-b.pdf 112 g-prose-m 0 - g:2 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/prose-m.pdf 113 y-prose-m1 0 - - pages corpus/pdf/prose.pdf 114 y-prose-m2 0 - = pages build/gate/prose-m.pdf 115 x-prose-m1 0 - - text corpus/pdf/prose.pdf 116 x-prose-m2 0 - = text build/gate/prose-m.pdf 117 o-prose-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/pdf/prose.pdf - 118 o-prose-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/prose-m.pdf - 119 s-encodings-a 0 - - split corpus/pdf/encodings.pdf 1 1 build/gate/encodings-a.pdf 120 g-encodings-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/encodings-a.pdf 121 x-encodings-a1 0 - - text corpus/pdf/encodings.pdf 1 1 122 x-encodings-a2 0 - = text build/gate/encodings-a.pdf 123 o-encodings-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/pdf/encodings.pdf - 124 o-encodings-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/encodings-a.pdf - 125 s-encodings-b 0 - - split corpus/pdf/encodings.pdf 2 3 build/gate/encodings-b.pdf 126 g-encodings-b 0 - g:2 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/encodings-b.pdf 127 x-encodings-b1 0 - - text corpus/pdf/encodings.pdf 2 3 128 x-encodings-b2 0 - = text build/gate/encodings-b.pdf 129 o-encodings-b1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 2 -l 3 corpus/pdf/encodings.pdf - 130 o-encodings-b2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/encodings-b.pdf - 131 m-encodings 0 - - merge build/gate/encodings-m.pdf build/gate/encodings-a.pdf build/gate/encodings-b.pdf 132 g-encodings-m 0 - g:3 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/encodings-m.pdf 133 y-encodings-m1 0 - - pages corpus/pdf/encodings.pdf 134 y-encodings-m2 0 - = pages build/gate/encodings-m.pdf 135 x-encodings-m1 0 - - text corpus/pdf/encodings.pdf 136 x-encodings-m2 0 - = text build/gate/encodings-m.pdf 137 o-encodings-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/pdf/encodings.pdf - 138 o-encodings-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/encodings-m.pdf - 139 s-encodings-notounicode-a 0 - - split corpus/pdf/encodings-notounicode.pdf 1 1 build/gate/encodings-notounicode-a.pdf 140 g-encodings-notounicode-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/encodings-notounicode-a.pdf 141 x-encodings-notounicode-a1 0 - - text corpus/pdf/encodings-notounicode.pdf 1 1 142 x-encodings-notounicode-a2 0 - = text build/gate/encodings-notounicode-a.pdf 143 o-encodings-notounicode-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/pdf/encodings-notounicode.pdf - 144 o-encodings-notounicode-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/encodings-notounicode-a.pdf - 145 s-encodings-notounicode-b 0 - - split corpus/pdf/encodings-notounicode.pdf 2 3 build/gate/encodings-notounicode-b.pdf 146 g-encodings-notounicode-b 0 - g:2 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/encodings-notounicode-b.pdf 147 x-encodings-notounicode-b1 0 - - text corpus/pdf/encodings-notounicode.pdf 2 3 148 x-encodings-notounicode-b2 0 - = text build/gate/encodings-notounicode-b.pdf 149 o-encodings-notounicode-b1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 2 -l 3 corpus/pdf/encodings-notounicode.pdf - 150 o-encodings-notounicode-b2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/encodings-notounicode-b.pdf - 151 m-encodings-notounicode 0 - - merge build/gate/encodings-notounicode-m.pdf build/gate/encodings-notounicode-a.pdf build/gate/encodings-notounicode-b.pdf 152 g-encodings-notounicode-m 0 - g:3 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/encodings-notounicode-m.pdf 153 y-encodings-notounicode-m1 0 - - pages corpus/pdf/encodings-notounicode.pdf 154 y-encodings-notounicode-m2 0 - = pages build/gate/encodings-notounicode-m.pdf 155 x-encodings-notounicode-m1 0 - - text corpus/pdf/encodings-notounicode.pdf 156 x-encodings-notounicode-m2 0 - = text build/gate/encodings-notounicode-m.pdf 157 o-encodings-notounicode-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/pdf/encodings-notounicode.pdf - 158 o-encodings-notounicode-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/encodings-notounicode-m.pdf - 159 s-layout-a 0 - - split corpus/pdf/layout.pdf 1 1 build/gate/layout-a.pdf 160 g-layout-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/layout-a.pdf 161 x-layout-a1 0 - - text corpus/pdf/layout.pdf 1 1 162 x-layout-a2 0 - = text build/gate/layout-a.pdf 163 o-layout-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/pdf/layout.pdf - 164 o-layout-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/layout-a.pdf - 165 m-layout 0 - - merge build/gate/layout-m.pdf build/gate/layout-a.pdf 166 g-layout-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/layout-m.pdf 167 y-layout-m1 0 - - pages corpus/pdf/layout.pdf 168 y-layout-m2 0 - = pages build/gate/layout-m.pdf 169 x-layout-m1 0 - - text corpus/pdf/layout.pdf 170 x-layout-m2 0 - = text build/gate/layout-m.pdf 171 o-layout-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/pdf/layout.pdf - 172 o-layout-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/layout-m.pdf - 173 s-inherit-a 0 - - split corpus/gen/inherit.pdf 1 1 build/gate/inherit-a.pdf 174 g-inherit-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/inherit-a.pdf 175 x-inherit-a1 0 - - text corpus/gen/inherit.pdf 1 1 176 x-inherit-a2 0 - = text build/gate/inherit-a.pdf 177 o-inherit-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/inherit.pdf - 178 o-inherit-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/inherit-a.pdf - 179 s-inherit-b 0 - - split corpus/gen/inherit.pdf 2 2 build/gate/inherit-b.pdf 180 g-inherit-b 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/inherit-b.pdf 181 x-inherit-b1 0 - - text corpus/gen/inherit.pdf 2 2 182 x-inherit-b2 0 - = text build/gate/inherit-b.pdf 183 o-inherit-b1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 2 -l 2 corpus/gen/inherit.pdf - 184 o-inherit-b2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/inherit-b.pdf - 185 m-inherit 0 - - merge build/gate/inherit-m.pdf build/gate/inherit-a.pdf build/gate/inherit-b.pdf 186 g-inherit-m 0 - g:2 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/inherit-m.pdf 187 y-inherit-m1 0 - - pages corpus/gen/inherit.pdf 188 y-inherit-m2 0 - = pages build/gate/inherit-m.pdf 189 x-inherit-m1 0 - - text corpus/gen/inherit.pdf 190 x-inherit-m2 0 - = text build/gate/inherit-m.pdf 191 o-inherit-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/inherit.pdf - 192 o-inherit-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/inherit-m.pdf - 193 s-objstm-a 0 - - split corpus/gen/objstm.pdf 1 1 build/gate/objstm-a.pdf 194 g-objstm-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/objstm-a.pdf 195 x-objstm-a1 0 - - text corpus/gen/objstm.pdf 1 1 196 x-objstm-a2 0 - = text build/gate/objstm-a.pdf 197 o-objstm-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/objstm.pdf - 198 o-objstm-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/objstm-a.pdf - 199 m-objstm 0 - - merge build/gate/objstm-m.pdf build/gate/objstm-a.pdf 200 g-objstm-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/objstm-m.pdf 201 y-objstm-m1 0 - - pages corpus/gen/objstm.pdf 202 y-objstm-m2 0 - = pages build/gate/objstm-m.pdf 203 x-objstm-m1 0 - - text corpus/gen/objstm.pdf 204 x-objstm-m2 0 - = text build/gate/objstm-m.pdf 205 o-objstm-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/objstm.pdf - 206 o-objstm-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/objstm-m.pdf - 207 s-carray-a 0 - - split corpus/gen/carray.pdf 1 1 build/gate/carray-a.pdf 208 g-carray-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/carray-a.pdf 209 x-carray-a1 0 - - text corpus/gen/carray.pdf 1 1 210 x-carray-a2 0 - = text build/gate/carray-a.pdf 211 o-carray-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/carray.pdf - 212 o-carray-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/carray-a.pdf - 213 m-carray 0 - - merge build/gate/carray-m.pdf build/gate/carray-a.pdf 214 g-carray-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/carray-m.pdf 215 y-carray-m1 0 - - pages corpus/gen/carray.pdf 216 y-carray-m2 0 - = pages build/gate/carray-m.pdf 217 x-carray-m1 0 - - text corpus/gen/carray.pdf 218 x-carray-m2 0 - = text build/gate/carray-m.pdf 219 o-carray-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/carray.pdf - 220 o-carray-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/carray-m.pdf - 221 s-image-a 0 - - split corpus/gen/image.pdf 1 1 build/gate/image-a.pdf 222 g-image-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/image-a.pdf 223 x-image-a1 0 - - text corpus/gen/image.pdf 1 1 224 x-image-a2 0 - = text build/gate/image-a.pdf 225 o-image-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/image.pdf - 226 o-image-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/image-a.pdf - 227 m-image 0 - - merge build/gate/image-m.pdf build/gate/image-a.pdf 228 g-image-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/image-m.pdf 229 y-image-m1 0 - - pages corpus/gen/image.pdf 230 y-image-m2 0 - = pages build/gate/image-m.pdf 231 x-image-m1 0 - - text corpus/gen/image.pdf 232 x-image-m2 0 - = text build/gate/image-m.pdf 233 o-image-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/image.pdf - 234 o-image-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/image-m.pdf - 235 s-lzw-a 0 - - split corpus/gen/lzw.pdf 1 1 build/gate/lzw-a.pdf 236 g-lzw-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/lzw-a.pdf 237 x-lzw-a2 62 - - text build/gate/lzw-a.pdf 238 o-lzw-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/lzw.pdf - 239 o-lzw-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/lzw-a.pdf - 240 m-lzw 0 - - merge build/gate/lzw-m.pdf build/gate/lzw-a.pdf 241 g-lzw-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/lzw-m.pdf 242 y-lzw-m1 0 - - pages corpus/gen/lzw.pdf 243 y-lzw-m2 0 - = pages build/gate/lzw-m.pdf 244 o-lzw-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/lzw.pdf - 245 o-lzw-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/lzw-m.pdf - 246 s-incr-a 0 - - split corpus/gen/incr.pdf 1 1 build/gate/incr-a.pdf 247 g-incr-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/incr-a.pdf 248 x-incr-a1 0 - - text corpus/gen/incr.pdf 1 1 249 x-incr-a2 0 - = text build/gate/incr-a.pdf 250 o-incr-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/incr.pdf - 251 o-incr-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/incr-a.pdf - 252 m-incr 0 - - merge build/gate/incr-m.pdf build/gate/incr-a.pdf 253 g-incr-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/incr-m.pdf 254 y-incr-m1 0 - - pages corpus/gen/incr.pdf 255 y-incr-m2 0 - = pages build/gate/incr-m.pdf 256 x-incr-m1 0 - - text corpus/gen/incr.pdf 257 x-incr-m2 0 - = text build/gate/incr-m.pdf 258 o-incr-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/incr.pdf - 259 o-incr-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/incr-m.pdf - 260 s-hybrid-a 0 - - split corpus/gen/hybrid.pdf 1 1 build/gate/hybrid-a.pdf 261 g-hybrid-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/hybrid-a.pdf 262 x-hybrid-a1 0 - - text corpus/gen/hybrid.pdf 1 1 263 x-hybrid-a2 0 - = text build/gate/hybrid-a.pdf 264 o-hybrid-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/hybrid.pdf - 265 o-hybrid-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/hybrid-a.pdf - 266 m-hybrid 0 - - merge build/gate/hybrid-m.pdf build/gate/hybrid-a.pdf 267 g-hybrid-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/hybrid-m.pdf 268 y-hybrid-m1 0 - - pages corpus/gen/hybrid.pdf 269 y-hybrid-m2 0 - = pages build/gate/hybrid-m.pdf 270 x-hybrid-m1 0 - - text corpus/gen/hybrid.pdf 271 x-hybrid-m2 0 - = text build/gate/hybrid-m.pdf 272 o-hybrid-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/hybrid.pdf - 273 o-hybrid-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/hybrid-m.pdf - 274 s-xrefstm-a 0 - - split corpus/gen/xrefstm.pdf 1 1 build/gate/xrefstm-a.pdf 275 g-xrefstm-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/xrefstm-a.pdf 276 x-xrefstm-a1 0 - - text corpus/gen/xrefstm.pdf 1 1 277 x-xrefstm-a2 0 - = text build/gate/xrefstm-a.pdf 278 o-xrefstm-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/xrefstm.pdf - 279 o-xrefstm-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/xrefstm-a.pdf - 280 m-xrefstm 0 - - merge build/gate/xrefstm-m.pdf build/gate/xrefstm-a.pdf 281 g-xrefstm-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/xrefstm-m.pdf 282 y-xrefstm-m1 0 - - pages corpus/gen/xrefstm.pdf 283 y-xrefstm-m2 0 - = pages build/gate/xrefstm-m.pdf 284 x-xrefstm-m1 0 - - text corpus/gen/xrefstm.pdf 285 x-xrefstm-m2 0 - = text build/gate/xrefstm-m.pdf 286 o-xrefstm-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/xrefstm.pdf - 287 o-xrefstm-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/xrefstm-m.pdf - 288 s-type0-a 0 - - split corpus/gen/type0.pdf 1 1 build/gate/type0-a.pdf 289 g-type0-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/type0-a.pdf 290 x-type0-a1 0 - - text corpus/gen/type0.pdf 1 1 291 x-type0-a2 0 - = text build/gate/type0-a.pdf 292 o-type0-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/type0.pdf - 293 o-type0-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/type0-a.pdf - 294 m-type0 0 - - merge build/gate/type0-m.pdf build/gate/type0-a.pdf 295 g-type0-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/type0-m.pdf 296 y-type0-m1 0 - - pages corpus/gen/type0.pdf 297 y-type0-m2 0 - = pages build/gate/type0-m.pdf 298 x-type0-m1 0 - - text corpus/gen/type0.pdf 299 x-type0-m2 0 - = text build/gate/type0-m.pdf 300 o-type0-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/type0.pdf - 301 o-type0-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/type0-m.pdf - 302 s-lenref-a 0 - - split corpus/gen/lenref.pdf 1 1 build/gate/lenref-a.pdf 303 g-lenref-a 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/lenref-a.pdf 304 x-lenref-a1 0 - - text corpus/gen/lenref.pdf 1 1 305 x-lenref-a2 0 - = text build/gate/lenref-a.pdf 306 o-lenref-a1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 -f 1 -l 1 corpus/gen/lenref.pdf - 307 o-lenref-a2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/lenref-a.pdf - 308 m-lenref 0 - - merge build/gate/lenref-m.pdf build/gate/lenref-a.pdf 309 g-lenref-m 0 - g:1 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/lenref-m.pdf 310 y-lenref-m1 0 - - pages corpus/gen/lenref.pdf 311 y-lenref-m2 0 - = pages build/gate/lenref-m.pdf 312 x-lenref-m1 0 - - text corpus/gen/lenref.pdf 313 x-lenref-m2 0 - = text build/gate/lenref-m.pdf 314 o-lenref-m1 0 - - exec /usr/bin/pdftotext -raw -enc UTF-8 corpus/gen/lenref.pdf - 315 o-lenref-m2 0 - = exec /usr/bin/pdftotext -raw -enc UTF-8 build/gate/lenref-m.pdf - 316 # merge of different files: the checker sees every page; pages lists follow each other 317 m-mixed 0 - - merge build/gate/mixed.pdf corpus/pdf/prose.pdf corpus/pdf/encodings.pdf corpus/gen/inherit.pdf corpus/gen/type0.pdf 318 g-mixed 0 - g:8 exec /usr/bin/gs -dNOPAUSE -dBATCH -dPDFSTOPONERROR -dPDFSTOPONWARNING -sDEVICE=nullpage build/gate/mixed.pdf 319 i-mixed 0 - - exec /usr/bin/pdfinfo build/gate/mixed.pdf 320 # 321 # ---- refusals: one or more per documented code ---- 322 r-usage 1 - - bogus x 323 r-usage-range 1 - - text corpus/gen/winansi.pdf 2 3 324 r-usage-split 1 - - split corpus/pdf/prose.pdf 2 1 build/gate/never.pdf 325 r-open 2 - - info corpus/no-such-file.pdf 326 r-exists-1 0 - - split corpus/gen/winansi.pdf 1 1 build/gate/exists.pdf 327 r-exists-2 5 - - split corpus/gen/winansi.pdf 1 1 build/gate/exists.pdf 328 r-io-dir 64 - - info corpus 329 r-bad-startxref 60 - - info corpus/refuse/bad-startxref.pdf 330 r-bad-xref-offset 60 - - info corpus/refuse/bad-xref-offset.pdf 331 r-bad-object-number 60 - - info corpus/refuse/bad-object-number.pdf 332 r-missing-endstream 60 - - info corpus/refuse/missing-endstream.pdf 333 r-wrong-length 60 - - info corpus/refuse/wrong-length.pdf 334 r-objstm-self 60 - - info corpus/refuse/objstm-self.pdf 335 r-encrypted 61 - - info corpus/refuse/encrypted.pdf 336 r-encrypted-text 61 - - text corpus/refuse/encrypted.pdf 337 r-encrypted-split 61 - - split corpus/refuse/encrypted.pdf 1 1 build/gate/never.pdf 338 r-lzw-text 62 - - text corpus/refuse/lzw-text.pdf 339 r-lzw-info 0 - - info corpus/refuse/lzw-text.pdf 340 r-runlength 62 - - text corpus/refuse/runlength.pdf 341 r-kids-cycle 63 - - pages corpus/refuse/kids-cycle.pdf 342 r-prev-cycle 63 - - info corpus/refuse/prev-cycle.pdf 343 r-nesting 63 - - info corpus/refuse/nesting.pdf 344 r-name-long 63 - - info corpus/refuse/name-long.pdf 345 r-cid-no-tounicode 65 - - text corpus/refuse/cid-no-tounicode.pdf 346 r-identity-v 65 - - text corpus/refuse/identity-v.pdf 347 r-bad-cmap 66 - - text corpus/refuse/bad-cmap.pdf 348 r-w-objstm-ref 67 - - split corpus/refuse/w-objstm-ref.pdf 1 1 build/gate/never.pdf 349 r-w-objstm-ref-text 0 - t:corpus/expect/w-objstm-ref.txt text corpus/refuse/w-objstm-ref.pdf 350 r-w-external 67 - - split corpus/refuse/w-external.pdf 1 1 build/gate/never.pdf 351 r-w-external-text 62 - - text corpus/refuse/w-external.pdf 352 r-never-written 2 - - info build/gate/never.pdf 353 # ---- refusals from the vendored zlib and inflate units (codes as in omega-zip S1) ---- 354 r-v10-e-empty 10 - - text corpus/refuse/v10-e-empty.pdf 355 r-v10-f-trunc 10 - - text corpus/refuse/v10-f-trunc.pdf 356 r-v10-s-trunc 10 - - text corpus/refuse/v10-s-trunc.pdf 357 r-v10-zl-trunc 10 - - text corpus/refuse/v10-zl-trunc.pdf 358 r-v11-b-type3 11 - - text corpus/refuse/v11-b-type3.pdf 359 r-v12-s-nlen 12 - - text corpus/refuse/v12-s-nlen.pdf 360 r-v13-d-manydist 13 - - text corpus/refuse/v13-d-manydist.pdf 361 r-v13-d-manylen 13 - - text corpus/refuse/v13-d-manylen.pdf 362 r-v14-d-clinc 14 - - text corpus/refuse/v14-d-clinc.pdf 363 r-v14-d-clover 14 - - text corpus/refuse/v14-d-clover.pdf 364 r-v15-d-repfirst 15 - - text corpus/refuse/v15-d-repfirst.pdf 365 r-v15-d-reppast 15 - - text corpus/refuse/v15-d-reppast.pdf 366 r-v16-d-litinc 16 - - text corpus/refuse/v16-d-litinc.pdf 367 r-v16-d-litover 16 - - text corpus/refuse/v16-d-litover.pdf 368 r-v17-d-distinc 17 - - text corpus/refuse/v17-d-distinc.pdf 369 r-v17-d-distover 17 - - text corpus/refuse/v17-d-distover.pdf 370 r-v18-d-noeob 18 - - text corpus/refuse/v18-d-noeob.pdf 371 r-v19-f-lit286 19 - - text corpus/refuse/v19-f-lit286.pdf 372 r-v20-f-dist30 20 - - text corpus/refuse/v20-f-dist30.pdf 373 r-v21-f-far 21 - - text corpus/refuse/v21-f-far.pdf 374 r-v30-zl-cinfo 30 - - text corpus/refuse/v30-zl-cinfo.pdf 375 r-v30-zl-fcheck 30 - - text corpus/refuse/v30-zl-fcheck.pdf 376 r-v30-zl-method 30 - - text corpus/refuse/v30-zl-method.pdf 377 r-v31-zl-dict 31 - - text corpus/refuse/v31-zl-dict.pdf 378 r-v32-zl-adler 32 - - text corpus/refuse/v32-zl-adler.pdf 379 # ---- robustness ---- 380 rob rob-t-encodings-notounicode pdf corpus/pdf/encodings-notounicode.pdf text 381 rob rob-p-encodings-notounicode pdf corpus/pdf/encodings-notounicode.pdf pages 382 rob rob-t-encodings pdf corpus/pdf/encodings.pdf text 383 rob rob-p-encodings pdf corpus/pdf/encodings.pdf pages 384 rob rob-t-layout pdf corpus/pdf/layout.pdf text 385 rob rob-p-layout pdf corpus/pdf/layout.pdf pages 386 rob rob-t-prose pdf corpus/pdf/prose.pdf text 387 rob rob-p-prose pdf corpus/pdf/prose.pdf pages 388 rob rob-t-a85 pdf corpus/gen/a85.pdf text 389 rob rob-p-a85 pdf corpus/gen/a85.pdf pages 390 rob rob-t-a85flate pdf corpus/gen/a85flate.pdf text 391 rob rob-p-a85flate pdf corpus/gen/a85flate.pdf pages 392 rob rob-t-ahx pdf corpus/gen/ahx.pdf text 393 rob rob-p-ahx pdf corpus/gen/ahx.pdf pages 394 rob rob-t-carray pdf corpus/gen/carray.pdf text 395 rob rob-p-carray pdf corpus/gen/carray.pdf pages 396 rob rob-t-differences pdf corpus/gen/differences.pdf text 397 rob rob-p-differences pdf corpus/gen/differences.pdf pages 398 rob rob-t-hybrid pdf corpus/gen/hybrid.pdf text 399 rob rob-p-hybrid pdf corpus/gen/hybrid.pdf pages 400 rob rob-t-image pdf corpus/gen/image.pdf text 401 rob rob-p-image pdf corpus/gen/image.pdf pages 402 rob rob-t-incr pdf corpus/gen/incr.pdf text 403 rob rob-p-incr pdf corpus/gen/incr.pdf pages 404 rob rob-t-lenref pdf corpus/gen/lenref.pdf text 405 rob rob-p-lenref pdf corpus/gen/lenref.pdf pages 406 rob rob-t-lzw pdf corpus/gen/lzw.pdf text 407 rob rob-p-lzw pdf corpus/gen/lzw.pdf pages 408 rob rob-t-macroman pdf corpus/gen/macroman.pdf text 409 rob rob-p-macroman pdf corpus/gen/macroman.pdf pages 410 rob rob-t-objstm pdf corpus/gen/objstm.pdf text 411 rob rob-p-objstm pdf corpus/gen/objstm.pdf pages 412 rob rob-t-standard pdf corpus/gen/standard.pdf text 413 rob rob-p-standard pdf corpus/gen/standard.pdf pages 414 rob rob-t-textops pdf corpus/gen/textops.pdf text 415 rob rob-p-textops pdf corpus/gen/textops.pdf pages 416 rob rob-t-tounicode pdf corpus/gen/tounicode.pdf text 417 rob rob-p-tounicode pdf corpus/gen/tounicode.pdf pages 418 rob rob-t-type0 pdf corpus/gen/type0.pdf text 419 rob rob-p-type0 pdf corpus/gen/type0.pdf pages 420 rob rob-t-winansi pdf corpus/gen/winansi.pdf text 421 rob rob-p-winansi pdf corpus/gen/winansi.pdf pages 422 rob rob-t-xrefstm pdf corpus/gen/xrefstm.pdf text 423 rob rob-p-xrefstm pdf corpus/gen/xrefstm.pdf pages 424 rob rob-t-inherit pdf corpus/gen/inherit.pdf text 425 rob rob-p-inherit pdf corpus/gen/inherit.pdf pages