pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler (JIRA) <j...@apache.org>
Subject [jira] Commented: (PDFBOX-490) Pdf Printing of text from embedded fonts
Date Tue, 28 Jul 2009 06:00:15 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735951#action_12735951

Andreas Lehmkühler commented on PDFBOX-490:

I've to correct my former guess. First off all the problem is the missing Naming-Table.

I think there are two possible options to solve this issue. In both cases we have to improve
the TTFParser.

(1) repair the incomplete stream before passing it to the createFont method
(2) create an awtfont on our own with the provided data from the embedded fontdata

I guess (1) will be easier. Any other ideas?

> 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
>         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.
You can reply to this email to add a comment to the issue online.

View raw message