diff options
author | Mike FABIAN <mfabian@suse.de> | 2009-02-03 16:57:01 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-02-15 13:40:23 -0800 |
commit | 10609af4aa4030a15c19573198462fa002d2ef13 (patch) | |
tree | fdb858b45da95f9f5a6e9f210c40db275d4fe49d /conf.d | |
parent | fe00689cddb42df141d891c2cd5b4a8ea3a42816 (diff) | |
download | fontconfig-10609af4aa4030a15c19573198462fa002d2ef13.tar.gz |
[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.
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/90-synthetic.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/conf.d/90-synthetic.conf b/conf.d/90-synthetic.conf index 63d9b89..6736423 100644 --- a/conf.d/90-synthetic.conf +++ b/conf.d/90-synthetic.conf @@ -60,5 +60,16 @@ <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> |