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/11/26 20:07:00 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=13503991#comment-13503991 ]
Andreas Lehmkühler commented on PDFBOX-490:
-------------------------------------------
I added a workaround in revision 1413782. It solves the issue with the attached file, BUT it doesn't work in every case. It uses the new TTFSubfont support of fontbox (see PDFBOX-922) to rebuild the embedded font. It is limited to WinANSI fonts which doesn't contain a naming table. I guess it'll be easy to integrate Juraj idea about rebuilding a missing cmap table.
> 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, TestTTFGlyph.java
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira