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 2009/07/07 18:22:14 UTC

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

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

Andreas Lehmkühler commented on PDFBOX-490:
-------------------------------------------

I guess the streams for the fonts (embedded subset) aren't complete. The PostScriptTable is missing and obviously java needs it to create an awt-font from a truetype-font (see java.awt.Font.createFont). otherwise a FontFormatException is thrown.

Does anyone know a workaround? Or do we have to implement a ttf-streamwriter to create a repaired ttf-stream?

> 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: Utilities
>    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.