freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] a hidden gem: the autohint warper code


From: Werner LEMBERG
Subject: Re: [ft-devel] a hidden gem: the autohint warper code
Date: Tue, 01 Mar 2011 08:52:23 +0100 (CET)

>> No.  By its very nature, such warping can't happen in the `main'
>> hinting direction – you would get uneven glyph heights if you do so.
>
> Without blue zone treatment, glyphs always have uneven bottom line.
> I think the warp can be combined with bluezone management.

I don't think this is possible.

> If the bottom line of the warped glyph is shifted away from a
> bluezone, then the whole glyph should be shifted back a whole
> 1 pixel back toward the bluezone after being warped.

This won't work.  If you shift one pixel back, all other optimized
zones, would be at the wrong position.  Warping, as it is currently
implemented, only works if the code has the absolute freedom to
positions stems at any places.


    Werner

reply via email to

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