You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2012/05/20 12:45:41 UTC

[jira] [Updated] (PDFBOX-490) Pdf Printing of text from embedded fonts

     [ https://issues.apache.org/jira/browse/PDFBOX-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-490:
--------------------------------------

    Attachment: TestTTFGlyph.java

The conversion of simple glyphs into a GeneralPath works quite good, but there are still some issues with composite glyphs.
Find attached a simple piece of code to test the conversion. It draws every glyph of a given font and creates a png pic of them.
Any comments and improvements are welcome
                
> 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: TestTTFGlyph.java, 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