[
https://issues.apache.org/jira/browse/PDFBOX-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624276#comment-14624276
]
ASF subversion and git services commented on PDFBOX-2876:
---------------------------------------------------------
Commit 1690572 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1690572 ]
PDFBOX-2876: Better embedding of simple TrueType fonts
> 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: [email protected]
For additional commands, e-mail: [email protected]