freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Bug in ah_hinter_load_glyph


From: Werner LEMBERG
Subject: Re: [Devel] Bug in ah_hinter_load_glyph
Date: Fri, 16 Apr 2004 11:48:21 +0200 (CEST)

> Hi, I believe I've found a bug in freetype (in 2.1.7 and current cvs
> version).  It happens when loading some characters, with a transform
> matrix (1,0,0,-1).
>
> I don't know the exact reason, but it's around line 1813 in ahhint.c,
>       FT_Pos  fitted = FT_PIX_ROUND( scaled );
> Sometimes, fitted becomes 0, making y_scale, on line 1820
>       y_scale = FT_MulDiv( y_scale, fitted, scaled );
> Also 0.

Thanks for the report; this should be fixed now in the CVS.  I've
disabled autohinting if the glyph is vertically distorted or mirrored.
Please test!


    Werner





reply via email to

[Prev in Thread] Current Thread [Next in Thread]