freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] discussion of truetype glyph loading code


From: Chia I Wu
Subject: Re: [ft-devel] discussion of truetype glyph loading code
Date: Tue, 9 Aug 2005 17:34:56 +0800
User-agent: Mutt/1.5.9i

On Tue, Aug 09, 2005 at 07:50:41AM +0200, Werner LEMBERG wrote:
> > The original code translates the points so that the origin (pp1) has
> > integral coordinates and rounds pp2 and pp4, before hinting.  I
> > think the translation is not necessary.  When bytecode interpreter
> > is enabled, we move points relative to reference point or to itself.
> > Thus the translation has no effect.  When disabled, the translation
> > doesn't help make other points having integral coordinates.
> >
> > And for rounding pp2 and pp4, doesn't it make the result of hinting
> > inaccurate?  Plus, pp2 and pp4 are rounded when calculating metrics
> > later.
> 
> Whether this improves the rendering process can only be decided in
> direct comparison with the Windows hinting engine.  Whether it becomes
> worse is hopefully visible immediately...
It gives bad result on verdana.ttf!

Here's try 2. TT_Hint_Glyph now works as the original code does.

-- 
Regards,
olv

Attachment: ft2-truetype-cleanup-try2.patch.gz
Description: Binary data


reply via email to

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