Re: Incorrect glyph stretching and positioning when rendering at different x and y resolutions.

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <[email protected]>
> where FreeSerif.ttf can be downloaded from
> http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip (the
> specific release of FreeFont is important!).

OK.

> The program loads two glyphs (codepoints 0x21d0 LEFTWARDS DOUBLE
> ARROW and 0x21d1 UPWARDS DOUBLE ARROW) and renders them at 200dpi
> horizontal resolution and 100dpi vertical resolution.

[Those are glyphs 'arrowdblleft' and 'arrowdblup' in the font.]

> The result (bad.txt) shows that while the horizontal arrow is
> correctly stretched by a factor of 2 in x, the vertical arrow is
> incorrectly stretched in y instead, and also badly centered in y.

This is a bug in FreeType, probably also related to

  https://savannah.nongnu.org/bugs/?55001

Please open an issue in the Savannah tracker, and thanks for the
report!


    Werner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.