[
https://issues.apache.org/jira/browse/PDFBOX-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15377287#comment-15377287
]
Tilman Hausherr commented on PDFBOX-3422:
-----------------------------------------
I found this in PDFBOX-2262:
{quote}
PDAfmPfbFont has been removed, replaced by PDType1FontEmbedder which creates
PDType1Font instances for embedding. This removes an unnecessary subclass of
PDType1Font and cleanly separates code for embedding new fonts from code for
parsing existing embedded fonts.
{quote}
> PDType1AfmPfbFont with PDFBox 2
> -------------------------------
>
> Key: PDFBOX-3422
> URL: https://issues.apache.org/jira/browse/PDFBOX-3422
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.2
> Reporter: Philip Helger
>
> Hi!
> In PDFBox 1.8 I used {{PDType1AfmPfbFont}} to load PFB fonts with AFM.
> How can I do this with PDFBox 2.x?
> The {{PDType1Font}} has a constructor to pass in the PFB InputStream but how
> can I set the AFM into it?
> Thanks, Philip
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]