Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2765

Add method to subset fonts for document pre-save

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.0.0
    • None
    • Writing
    • None

    Description

      I have a custom COSWriter which compresses all streams and runs a SHA1 sum over each object, only writing one instance of each object with the same SHA1 sum.

      This really helps compress PDFs.

      I use this by calling MyCustomCOSWriter.write(PDDocument);

      The trouble is that I have no way of calling the font subsetting that happens in PDDocument.save().

      Could we have a method to perform that font subsetting manually?

      Attachments

        Activity

          People

            jahewson John Hewson
            jesselong Jesse Long
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: