[
https://issues.apache.org/jira/browse/PDFBOX-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14142794#comment-14142794
]
John Hewson commented on PDFBOX-2298:
-------------------------------------
{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)