[ 
https://issues.apache.org/jira/browse/PDFBOX-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121148#comment-18121148
 ] 

Philip Helger commented on PDFBOX-6170:
---------------------------------------

Our content stream (`PDPageContentStreamExt`) is a standalone class and doesn't 
extend `PDAbstractContentStream`.

So in `setFont` it has to register subset fonts itself, the same way PDFBox's 
own streams do.

Without this, embedded fonts are never subset.

> Request to make PDDocument.getFontsToSubset() public
> ----------------------------------------------------
>
>                 Key: PDFBOX-6170
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6170
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 3.0.6 PDFBox
>            Reporter: Philip Helger
>            Priority: Major
>
> Similar to PDFBOX-6169 this is used in ph-pdf-layout for explicitly adding a 
> Font to be subset.
> Please consider making this API public.
> Thanks, Philip



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to