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

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

It looks like the glyphs of the embedded fonts are bigger than expected. If I 
activate the automatic scretching in drawGlyph2D (by commenting the if clause 
for not embedded fonts) everything works fine. But we have to do the streching 
for both directions (horizontal and vertical).
So, it would be easy to disable the uf clause, but what about the scaling 
itself. For PDFBOX-870 the horizontal scaling is needed only, but for this one 
both are required. How can we determine which is needed or not? Any Ideas?

> 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)

Reply via email to