[
https://issues.apache.org/jira/browse/PDFBOX-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167894#comment-17167894
]
Benjamin Eder commented on PDFBOX-3758:
---------------------------------------
I am very new to the source code but to me it seems like we'd have to merely
try to migrate
fop-core/src/main/java/org/apache/fop/fonts/truetype/OTFSubSetFile.java
(https://github.com/apache/xmlgraphics-fop/blob/trunk/fop-core/src/main/java/org/apache/fop/fonts/truetype/OTFSubSetFile.java)
to a new OpenTypeEmbedder (implementing the Subsetter interface) alike the
current TrueTypeEmbedder implementation.
If that sounds correct to you I could give it a try.
> Add support for OTF/PostScript subsetting
> -----------------------------------------
>
> Key: PDFBOX-3758
> URL: https://issues.apache.org/jira/browse/PDFBOX-3758
> Project: PDFBox
> Issue Type: Wish
> Components: FontBox
> Affects Versions: 2.0.5
> Reporter: Tobias Fischer
> Priority: Major
>
> Fontbox has a very good TTF subsetter and I'd love to have this also for
> PostScript based OTF fonts.
> I know that this is currently missing and building OTF/PS support is hard,
> but the recent Apache FOP release 2.2 seems to have added this to their
> codebase with FOP-2252. I think this should better be part of Fontbox/PDFBox.
> Unfortunately I wasn't even able to get the FOP 2.2 OTF Subsetter to work
> with fonts on the local file system rather than embedded ones from PDFs. So
> there's probably still work to do...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]