[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] [Patch] Autofit and stem snapping
From: |
Frederic Crozat |
Subject: |
Re: [ft-devel] [Patch] Autofit and stem snapping |
Date: |
Wed, 31 Aug 2005 13:58:20 +0200 |
Le mardi 30 août 2005 à 15:14 -0400, Owen Taylor a écrit :
> 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.
This patch seems to trigger a misrendering of "ö" character with
Bitstream Vera Sans 10 => only one dot is rendered, instead of two..
--
Frederic Crozat <address@hidden>
Mandriva