freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] autofit CJK module


From: Werner LEMBERG
Subject: Re: [ft-devel] autofit CJK module
Date: Sat, 11 Feb 2006 09:53:59 +0100 (CET)

> > Where does the `2048' come from?  Please add a comment.
>
> The thresholds here and in segment linking are in font units.  They
> should be proportional to units_per_em.  As they work great for
> fonts with 2048 units, I assume they are decided with 2048 units in
> mind.  If this is not the case, please replace 2048 with an
> appropriate value.

This is OK -- I'm quite sure that David used TrueType fonts for actual
testing.  Most of the hard-coded values are heuristic; it is just
necessary to document them as such to avoid possible confusion in the
future.

> I did the same to the latin module.  All Type 1 fonts would be
> affected.  (And I just found that the 3000 in the scoring formula
> should be scaled too.)

Please go on.


    Werner




reply via email to

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