[
https://issues.apache.org/jira/browse/PDFBOX-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808097#comment-13808097
]
Luis Bernardo commented on PDFBOX-1741:
---------------------------------------
based on my fresh experience with PDFBOX-615, I suspect that PDFBOX-1760
rendering issues are due to some ad hoc transformations of Y coordinates that
are not needed. compare the two patches attached to PDFBOX-615, one for trunk
(2.0.0), the other for 1.8 branch.
> [PATCH] Text should be in italic but is rendered upright
> --------------------------------------------------------
>
> Key: PDFBOX-1741
> URL: https://issues.apache.org/jira/browse/PDFBOX-1741
> Project: PDFBox
> Issue Type: Bug
> Reporter: Vincent Hennebert
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.0
>
> Attachments: FontMatrix.patch, image.pdf
>
>
> See attached PDF. The embedded font has a FontMatrix with skew values to make
> the font look italic. It's not taken into account by PDFBox.
> In PageDrawer and CFFGlyph2D there are a lot of manual modifications of the y
> coordinate to convert from the PDF coordinate system to AWT. This can be
> avoided by applying an initial transform to the Graphics2D instance. That
> allows to simplify the code quite a bit.
--
This message was sent by Atlassian JIRA
(v6.1#6144)