freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] [Patch] Autofit and stem snapping


From: Owen Taylor
Subject: [ft-devel] [Patch] Autofit and stem snapping
Date: Tue, 30 Aug 2005 15:14:07 -0400

It was  reported with cairo that snapping of stems to integer widths 
for LCD rendering was no longer working:

 https://bugs.freedesktop.org/show_bug.cgi?id=4302

Upon investigation this turned out to be a 2.1.9 / 2.1.10 change
in FreeType.

It looks like the problem is in  af_latin_compute_stem_width(). As I
read it variable vertical was supposed to be whether the stem being
hinted is vertical, but was instead set to whether vertical hinting 
was enabled for the font.

Here's a patch that works for me.

Regards,
                                        Owen

Attachment: freetype-stem-snap.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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