Description
In 2.0.3, TrueTypeEmbedder initializes FONT_FILE2 with the full font (1) and then writes the subset later on save (2) (3).
In 2.0.15 TrueTypeEmbedder now only initializes FONT_FILE2 if !embeddedSubset (4).
This results in PDFRenderer failing to find and use the intended font when using a PDDocument that has never been saved.
Attached patch restores the original behavior to work around the issue.
Attachments
Attachments
Issue Links
- relates to
-
PDFBOX-3824 Optimize TrueType font embedder
- Closed