Docs / Reference

Known limitations

This page lists what SoftZenPdf 1.0 does not do yet, so you can decide before you depend on it. Everything here comes from the library's code; if something you need is missing, please write to info@softzensystems.com.

Text and fonts

  • No text layout: DrawText draws one line; wrapping, justification and hyphenation are up to you (see wrapping paragraphs).
  • No Indic shaping: Devanagari and the other Indic scripts are not reordered within syllables or formed into conjuncts, so they do not render correctly.
  • Arabic is shaped (joined forms, required ligatures, mark placement), but cursive attachment (curs, used by Nastaliq fonts), reverse chaining substitutions and language-specific forms (locl for Persian, Urdu and so on) are not applied.
  • OpenType features are those of each script's default language system. Positioning covers pair kerning and mark attachment only; contextual positioning is not applied. Discretionary ligatures, stylistic sets and other optional features cannot be turned on.
  • Right-to-left text is reordered line by line; DrawText still starts at the given x, so right-aligning is up to you (measure with MeasureText).
  • Form field appearances are drawn without kerning, and with standard fonts only.
  • Standard 14 fonts are limited to WinAnsiEncoding (Western European) characters.
  • Only TrueType-outline fonts can be embedded: no CFF-based OpenType (.otf with CFF outlines) and no .ttc collections.
  • Fonts whose licence forbids subsetting, or allows only bitmap embedding, are refused (full embedding is not implemented).

Graphics

  • Colours are DeviceRGB only: no CMYK, greyscale, spot colours, ICC-based colour spaces, gradients or patterns.
  • No API for dash patterns, line caps, line joins, miter limits, clipping paths or blend modes.
  • No tagged PDF or other accessibility structure (PDF/UA).

Images

  • JPEG, PNG, GIF (first frame only), BMP and TIFF; no WebP, HEIC, JPEG 2000 or SVG, and no BigTIFF, floating-point, uncompressed YCbCr, Lab or old-style JPEG TIFFs. JPEG-compressed TIFF pages must be a single strip or tile.
  • No lossless, hierarchical, arithmetic-coded or 12-bit JPEG.
  • 16-bit PNG and TIFF images are stored at 8 bits per component; images are never downsampled.
  • Image pages are placed whole: there is no cropping or cover-style fill, and no automatic deskew or blank-page removal for scans.

Documents and page operations

  • Existing files are never edited in place (except incremental form filling): changes mean building a new document from imported pages.
  • Merging and extracting do not carry over bookmarks, the form structure, named destinations or metadata; links to pages that were not copied stop working.
  • No method to delete a page (use Extract with the pages to keep).
  • Output uses a classic cross-reference table without object streams, so files are less compact than they could be, and are not linearized (fast web view); the SoftZenPdf.Optimizer add-on does both.
  • Whole documents are held in memory while being built or read.
  • No custom Info keys or custom XMP schemas.
  • Links can target URIs or pages of the same document only: no links to named destinations, other PDF files or applications; link borders are 1 point and solid.

Encryption

  • Password (Standard Security Handler) encryption only: no certificate-based encryption.
  • Files using Adobe's deprecated AES-256 revision 5 cannot be opened.
  • RC4 and AES-128 passwords must be printable ASCII.

Forms

  • Field text uses the standard fonts, so Latin characters only.
  • Signature fields are empty placeholders: no digital signing or signature validation.
  • No form flattening, JavaScript or XFA forms, so no date pickers, input formatting or calculated fields. Push buttons support the standard open-URI, go-to-page, reset and submit actions.
  • Files that needed repair to open cannot be filled in place.

Text extraction

  • Scanned pages yield no text on their own; recognise them with the SoftZenPdf.Ocr add-on.
  • Multi-column reading order is not reconstructed.
  • Characters without a Unicode mapping become U+FFFD.

PDF/A

  • PDF/A-2b only: no PDF/A-1, PDF/A-3, or U and A conformance levels.
  • Form fields cannot be used in PDF/A mode yet.
  • The built-in validator is a practical subset of ISO 19005-2; a veraPDF cross-check of SoftZenPdf's output is pending.

OCR (SoftZenPdf.Ocr)

  • Native Tesseract libraries are included for Windows x64 and x86 only; Linux needs the distribution's Tesseract 5 and Leptonica libraries, and macOS is not supported.
  • Language data (.traineddata files) is not included and must be downloaded and shipped with your application.
  • In existing PDFs, JBIG2 and JPEG 2000 images cannot be decoded and inline images are skipped; only the largest image on each page is recognised.
  • No automatic deskew, despeckle or other image clean-up before recognition.
  • The text layer is untagged plain text; right-to-left text may copy in reverse order in some viewers.

Redaction (SoftZenPdf.Redact)

  • Partly covered JBIG2 and JPEG 2000 images cannot be decoded, so they are removed entirely.
  • Redacted JPEG images are stored losslessly (Flate), so they grow.
  • Embedded font subsets are kept, so they still list the characters a document used.
  • The content of tiling patterns is not redacted; the shapes painted with them are cut.
  • Text patterns match text as the page reads it; text drawn as outlines or images needs an area, or OCR first.

Optimization (SoftZenPdf.Optimizer)

  • JBIG2 and JPEG 2000 images are not recompressed or resized.
  • Inline images, and images used in annotations, patterns or glyphs, are not resized.
  • CMYK to RGB conversion uses a device formula, not colour profiles, and only converts images, not colours in page content.

Not in scope

  • Converting Word documents to PDF (HTML and images can be converted; see HTML to PDF).
  • Rendering PDF pages to images, or printing.
  • Editing the existing text of a PDF.

Platform and packaging

  • Requires .NET 8 or later.
  • Uses no platform-specific APIs, but is developed and tested on Windows only so far.
  • No performance benchmarks have been published.
  • Without a license key, every saved page carries an evaluation banner; see Licensing.