[
https://issues.apache.org/jira/browse/PDFBOX-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254309#comment-13254309
]
Andreas Lehmkühler commented on PDFBOX-490:
-------------------------------------------
I fixed some problems to avoid an OutOfMemoryException in revision 1326311
including a patch proposed by Eric Leleu, see PDFBOX-1265 for details.
Embedded subsets only contains a subset of glyphs, but nevertheless their
head-table may still pretend to consist of all glyphs. Just stop reading glyphs
if the end of the glyph table is reached solves the issue.
> Pdf Printing of text from embedded fonts
> ----------------------------------------
>
> Key: PDFBOX-490
> URL: https://issues.apache.org/jira/browse/PDFBOX-490
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 0.8.0-incubator
> Environment: Windows XP, JRE 1.6
> Reporter: Steve Poling
> Assignee: Andreas Lehmkühler
> Attachments: filled.pdf
>
>
> When printing from utility PrintPdf, text is rendered in the wrong typeface.
> The correct typeface is embedded within the PDF (Embedded Subset) as a
> TrueType font with an ANSI encoding. It may be noted that the AcroFields in a
> Courier typeface render correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira