Bug 19904 - switch off hinting when doing artificial emboldening
Summary: switch off hinting when doing artificial emboldening
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: 2.6
Hardware: All Linux (All)
: medium normal
Assignee: Keith Packard
QA Contact:
URL: https://bugzilla.novell.com/show_bug....
Depends on:
Reported: 2009-02-02 05:10 UTC by Mike FABIAN
Modified: 2009-03-17 09:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

bugzilla-158573-turn-off-hinting-when-embolden.patch (811 bytes, patch)
2009-02-02 05:10 UTC, Mike FABIAN
Details | Splinter Review

Description Mike FABIAN 2009-02-02 05:10:17 UTC
Created attachment 22462 [details] [review]

See also:

Comment 1 Mike FABIAN 2009-02-02 05:13:42 UTC
This is just a workaround but as no fix seems to be in sight
in freetype2, it might be useful to use this workaround
in the fontconfig configuration.
Comment 2 Behdad Esfahbod 2009-02-03 13:51:45 UTC
Makes sense to me.  Keith?
Comment 3 Behdad Esfahbod 2009-02-03 13:57:56 UTC
In my tree:

commit 1e954dd0bbb8aa83676a39f2ac94d538d783581f
Author: Mike FABIAN <mfabian@suse.de>
Date:   Tue Feb 3 16:57:01 2009 -0500

    [conf] Disable hinting when emboldening (#19904)
    Hinting will be done before Embolden in freetype2,
    but in such case, Embolden will get wrong result
    on some glyph contours after applying hinting.
    Actually, hinting should be done after embolden, but we can't
    fix it in current freetype2. So as a workaround, just turn off
    hinting if we want to do embolden.

Comment 4 Behdad Esfahbod 2009-03-17 09:29:36 UTC
The patch has caused bug 20599.  This better be decided on a font by font basis.  I'm removing from my tree.  Lets close as notabug and submit per-font config as new bugs.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.