[ https://issues.apache.org/jira/browse/PDFBOX-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14142794#comment-14142794 ]
John Hewson edited comment on PDFBOX-2298 at 9/22/14 12:38 AM: --------------------------------------------------------------- {quote} If I activate the automatic scretching in drawGlyph2D (by commenting the if clause for not embedded fonts) everything works fine. {quote} Glyphs in embedded Type 1 fonts do not need to be stretched, Acrobat always uses the embedded font widths and ignores the Widths dictionary. Removing the if clause would result in incorrect rendering of any PDF files which have incorrect values in their Widths dictionary (a fairly common problem). was (Author: jahewson): {quote} If I activate the automatic scretching in drawGlyph2D (by commenting the if clause for not embedded fonts) everything works fine. {quote} Glyphs in embedded fonts do not need to be stretched, Acrobat always uses the embedded font widths and ignores the Widths dictionary. Removing the if clause would result in incorrect rendering of any PDF files which have incorrect values in their Widths dictionary (a fairly common problem). > Wrong scaling of embedded type 1 font > ------------------------------------- > > Key: PDFBOX-2298 > URL: https://issues.apache.org/jira/browse/PDFBOX-2298 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.0 > Reporter: Andreas Lehmkühler > Attachments: PDFBOX935-data_not_extracted_1.png > > > The file attached to PDFBOX-935 is rendered wrong. It seems that all embedded > type1 fonts have the wrong scaling. All glyphs are to big and are overlapping. > It worked well before merging the no-awt branch into the trunk -- This message was sent by Atlassian JIRA (v6.3.4#6332)