John Hewson created PDFBOX-2876:
-----------------------------------
Summary: 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]