Various PDF files for testing PDF readers.
- Contains images with
/Filter/RunLengthDecodein a document in the wild
From https://github.com/pdf-raku/stillhq.com-pdfdb
- Contains images with
/Filter/CCITTFaxDecodein a document in the wild
From 0000.zip in https://downloads.digitalcorpora.org/corpora/files/CC-MAIN-2021-31-PDF-UNTRUNCATED/
- Contains several
/Filter [/ASCII85Decode /LZWDecode] - Contains CFF font using the built-in Standard encoding
From https://www.researchgate.net/publication/270511438_The_CIE_1997_Colour_Appearance_Model_CIECAM97s
- Contains images with
/Filter/JBIG2Decode - Also with
/Filter[ /FlateDecode /DCTDecode ](!)
From https://www.dkriesel.com/_media/blog/2013/7535-7pt.pdf
Contains a float defaultWidthX in an embedded CFF font. The CFF glyphs contain opcodes 255 with negative values.
From http://english.hig.no/content/download/28956/331069/file/Bakke2010a.pdf.
Fairly normal file (not encrypted, not linearized, no object streams, normal
xref). Contains two /Filter [/JPXDecode] images.
From http://opf-labs.org/format-corpus/pdfCabinetOfHorrors/balloon_a1b_jp2k.pdf.
- Contains an image with
/Filter/CCITTFaxDecode
Generated by running
tools/tiff2pdf -o ccitt-g3.pdf ~/Downloads/libtiffpic/fax2d.tifwhere tiff2pdf is one of the tools in libtiff (just ./configure && make),
and libtiffpic is http://www.simplesystems.org/libtiff/images.html.
- PDF 1.7
- Encrypted (V5, R6, AESV3 (!))
- xref stream
- obj streams
- not linearized
From https://cipa.jp/std/documents/download_e.html?CIPA_DC-007-2021_E.
- PDF 1.4
/Infoobject with UTF-16 stringsProducer: OpenOffice.org 2.1
/Outlinesdata- Embedded TTF font
- Streams have
/Lengthas indirect object reference stored after the stream - Fairly simple: Not linearized, no object streams, no xref stream, no
incremental updates; regular
xref,trailer,startxref,%%EOF.
From https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf.
- PDF 1.7
- Encrypted (V4, R4, AESV2)
- Linearized
- XRef stream only (not hybrid)
- Object streams
/ColumnsandPredictor 12in/DecodeParamsof a/FlateDecodestream
From http://opf-labs.org/format-corpus/pdfCabinetOfHorrors/encryption_nocopy.pdf.
- PDF 1.6
- Linearized
- Encrypted (V2, R3, Length 128)
- Object streams
- Contains a bunch of bitmaps, partially in object streams
- Hybrid-reference file with
xref, but firsttraileralso has a/XRefStmkey pointing at a/XRefstream
Fairly complete edge-case workout (encrypted, linearized, obj stream, xref stream, hybrid)!
From https://www.orimi.com/pdf-test.pdf.
- Contains type1 font programs without a
Subrsarray
From my hard disk, I made this file long ago (using TeX).
- Linearized
- Contains a
/Filter/DCTDecodeimage
From http://opf-labs.org/format-corpus/pdfCabinetOfHorrors/veraPDFHiRes.pdf.