[
https://issues.apache.org/jira/browse/PDFBOX-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296305#comment-14296305
]
John Hewson commented on PDFBOX-2632:
-------------------------------------
The PDPageContentStream#setFont(PDFont, int, boolean) API has been removed and
replaced with a new PDType0Font constructor which takes a boolean parameter
controlling subsetting.
> Lost output when mixing subset and non-subset of the same font
> --------------------------------------------------------------
>
> Key: PDFBOX-2632
> URL: https://issues.apache.org/jira/browse/PDFBOX-2632
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Fix For: 2.0.0
>
>
> On behalf of [~mkl]:
> There still is a small bug in that font subsetting in the current SNAPSHOT:
> If on the same page you first use a font without subsetting
> {code}stream.setFont(font, 12, false);{code}
> then add some text, then use the same font with subsetting
> {code}stream.setFont(font, 12, true);{code}
> then add some more text, the text drawn up to the second font setting
> operation may be incomplete.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]