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

John Hewson edited comment on PDFBOX-3422 at 7/16/16 2:53 AM:
--------------------------------------------------------------

We don't need the AFM. The PFB contains all the metrics we need. So in 2.0 you 
simply pass just a PFB file to the PDType1Font.

P.S. The mailing list would be a better place for this kind of question.


was (Author: jahewson):
We don't need the AFM. The PFB contains all the metrics we need. So in 2.0 you 
simply pass just a PFB file to the PDType1Font.

> 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]

Reply via email to