You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/02/19 18:52:11 UTC

[jira] [Commented] (PDFBOX-1740) Umlaut not rendered correctly in TTF composite glyph

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

ASF subversion and git services commented on PDFBOX-1740:
---------------------------------------------------------

Commit 1660954 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1660954 ]

PDFBOX-1740: keep the sign in the offset for elements of composite glyphs

> Umlaut not rendered correctly in TTF composite glyph
> ----------------------------------------------------
>
>                 Key: PDFBOX-1740
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1740
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox, Rendering
>    Affects Versions: 2.0.0
>         Environment: XP, W7
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>         Attachments: FreeSansTestÜ.pdf, FreeSansTestÜ.pdf-1.png, Verdana.pdf, verdana.pdf-1.png
>
>
> The dots above the "U" in the attached file are not rendered correctly. From looking at the points array, I think that the cause is NOT the calculation of the shape path itself (PDFBOX-1435), it must be before, i.e. the calculation of the point coordinates that are used later for the shapes, done in GlyfCompositeDescript.getXCoordinate() or even deeper.
> The X coordinates from the "U" are between 80 and 640. The X coordinates of the two dots are between 406 and 587, i.e. the two dots are at the right:
> points:
> Point(547,-729,onCurve,)
> Point(640,-729,onCurve,)
> Point(640,-217,onCurve,)
> Point(640,-107,,)
> Point(487,23,,)
> Point(359,23,onCurve,)
> Point(229,23,,)
> Point(80,-106,,)
> Point(80,-217,onCurve,)
> Point(80,-729,onCurve,)
> Point(173,-729,onCurve,)
> Point(173,-217,onCurve,)
> Point(173,-138,,)
> Point(274,-59,,)
> Point(359,-59,onCurve,)
> Point(447,-59,,)
> Point(547,-143,,)
> Point(547,-217,onCurve,endOfContour)
> Point(510,-881,onCurve,)
> Point(510,-777,onCurve,)
> Point(406,-777,onCurve,)
> Point(406,-881,onCurve,endOfContour)
> Point(587,-881,onCurve,)
> Point(587,-777,onCurve,)
> Point(483,-777,onCurve,)
> Point(483,-881,onCurve,endOfContour)
> The font can be found here:
> http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org