> Okey, I add the accessor functions to afhint.c.
> 
> I also made the segment drawing independent of the force autofit
> mode.  I found that the segment lines are useful reference with or
> without autofit turned on.

Applied with modifications, thanks.

> One observation I had is that in order to have the outlines merge
> with the segments into one, I have to
> 
> 1. turn on force autofit (f)
> 2. turn of Horizontal and Vertical Hinting (H and V)
> 3. turn on hinting (h)
> 
> Otherwise, there are always some offset between the outlines and the
> segments.

Reason is that segment offsets are based on font units and thus not
dependent on the device resolution; they are computed before any
hinting gets applied.  The first resolution dependent step in the
autohinter is the bundling of segments into edges.


    Werner

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to