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

Steve Poling commented on PDFBOX-490:
-------------------------------------

I just took inventory of the tables used in the TTF data embedded in the PDF 
attached to PDFBOX-490 and compared it with the TTF file from which the data 
originated. I found that the following tables are omitted: hdmx (horizonal 
device metrics), name, and post (glyph name and postscript compatibility).

Have you attempted adding any of these tables to the TTF stream? I suppose the 
easiest would be the name table, then post, then hdmx. I note the TTF 
documentation requires the name and post tables, but not the hdmx, so I suppose 
I might get by without that.

Is there anything in the pdfbox codebase that reads/writes TTF files?

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

Reply via email to