You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2016/07/16 02:53:20 UTC

[jira] [Comment Edited] (PDFBOX-3422) PDType1AfmPfbFont with PDFBox 2

    [ 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:52 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.


was (Author: jahewson):
We don't need the AFM. The PFB contains all the metrics we need.

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org