freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Any tool that visually present segments of autofit module


From: Werner LEMBERG
Subject: Re: [ft-devel] Any tool that visually present segments of autofit module?
Date: Sun, 01 May 2011 13:55:38 +0200 (CEST)

> 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



reply via email to

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