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

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

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