You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jesse Long (JIRA)" <ji...@apache.org> on 2015/04/20 13:35:59 UTC

[jira] [Created] (PDFBOX-2765) Add method to subset fonts for document pre-save

Jesse Long created PDFBOX-2765:
----------------------------------

             Summary: Add method to subset fonts for document pre-save
                 Key: PDFBOX-2765
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2765
             Project: PDFBox
          Issue Type: New Feature
          Components: Writing
    Affects Versions: 2.0.0
            Reporter: Jesse Long
            Priority: Minor


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org