freetype
[Top][All Lists]
Advanced

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

RE: [ft] Glyph hinting problem with TT hinter


From: Sergey Tolstov
Subject: RE: [ft] Glyph hinting problem with TT hinter
Date: Wed, 29 Mar 2006 13:46:10 -0800

> -----Original Message-----
> From: Werner LEMBERG [mailto:address@hidden 
> Sent: Wednesday, March 29, 2006 11:33 AM
> > When we render glyph 58 (letter W) from the font Arial 
> Unicode MS, we 
> > get asymmetric shape at some sizes. GDI displays the characters 
> > nicely.
> 
> Please be more specific.  Which size?  Can you provide a snapshot?

The size is 20 pixels.
This can be easily seen in the ftview demo. Set resolution 72 dpi, size
20 points, font Arial Unicode MS
Check the letter W. The middle is asymmetric which is noticeable when
there are several W in a row

The flags are
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER -< uncommented
//#define TT_CONFIG_OPTION_UNPATENTED_HINTING -< commented out
 
> At few sizes there is a slight asymmetry which is hardly 
> noticeable -- most of those artifacts are `bugs' (yes, bugs) 
> in the Windows rendering engine which does some weird 
> rounding, probably due to some legacy code...

On the contrary, Windows GDI draws that glyph correctly for exactly the
same size. The geometry and bitmap returned by the freetype has
artifacts (asymmetric).

Attachment: arialuni20pix.bmp
Description: arialuni20pix.bmp


reply via email to

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