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 2015/07/13 08:51:05 UTC

[jira] [Resolved] (PDFBOX-2876) Better support for embedding of simple TrueType fonts

     [ https://issues.apache.org/jira/browse/PDFBOX-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson resolved PDFBOX-2876.
---------------------------------
    Resolution: Fixed

> Better support for embedding of simple TrueType fonts
> -----------------------------------------------------
>
>                 Key: PDFBOX-2876
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2876
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>
> PDTrueType font no longer has any non-deprecated methods which support embedding. This is because PDType0Font provides a much better user experience, as Unicode support is usually expected.
> However, there are cases where its useful to have simple TrueType embedding but the current code assumes WinAnsiEncoding. Seeing as simple fonts are always tied to an Encoding, I'm going to add a new constructor load(document, inputStream, encoding), which makes this explicit, and will break our reliance on WinAnsiEncoding.



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