Skip to content
Docs: LimitationsMenu

Limitations

What Hypapdf does not do: rendering, writing and OCR, tagged-PDF reading order, some fonts and image codecs, right-to-left text and files over 2 GB.

v0.1.0Last updated View as Markdown

Hypapdf reads PDFs. It does not render pages to images, edit or write PDFs, or run OCR on scanned pages. Within reading, these are the known limits of version 0.1.0.

Reading order#

Reading order is geometric (columns and bands of blocks). It does not use the tagged-PDF structure tree, and forms and complex tables may still come out in an order a person would not choose. It costs about twice the time of content order.

Fonts and text#

  • Composite fonts that have neither a ToUnicode map nor an embedded TrueType cmap only map the ASCII range of the Adobe CJK collections; full CID-to-Unicode tables are not included.
  • Right-to-left text is returned in visual (drawing) order.
  • CFF font programs are not parsed for built-in encodings.

Images#

Images are not decoded from JPEG, JPEG 2000, JBIG2 or CCITT; their bytes are returned as stored. Soft masks are not applied in ToPng, and images that only serve as soft masks are not listed.

Forms#

XFA-only forms are not read; AcroForm fields are.

Files and encryption#

Files larger than 2 GB are not supported, because the whole file is held in memory. Public-key encryption is not supported and raises PdfEncryptedException.

Reporting a problem#

Open an issue at github.com/vensas/hypapdf with the package version and, if you can, the PDF or a minimal file that shows the problem.