]> git.wh0rd.org - fontconfig.git/commitdiff
Revert "[conf] Disable hinting when emboldening (#19904)" (#20599)
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 17 Mar 2009 16:52:48 +0000 (12:52 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 17:52:09 +0000 (13:52 -0400)
This reverts commit 10609af4aa4030a15c19573198462fa002d2ef13.
Apparently disabling hinting can cause worse rendering with certain
fonts.  This is better handled on a per font basis.

conf.d/90-synthetic.conf

index 6736423fca8000077462009f16671621ab018a06..63d9b891b3794b205482d7d173ad3cb410ff6863 100644 (file)
                <edit name="weight" mode="assign">
                        <const>bold</const>
                </edit>
-               <!--
-                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.
-               -->
-               <edit name="hintstyle" mode="assign">
-                       <const>hintnone</const>
-               </edit>
        </match>
 </fontconfig>