This reverts commit 10609af4aa
.
Apparently disabling hinting can cause worse rendering with certain
fonts. This is better handled on a per font basis.
This commit is contained in:
parent
7042e23649
commit
0f11354877
|
@ -60,16 +60,5 @@
|
||||||
<edit name="weight" mode="assign">
|
<edit name="weight" mode="assign">
|
||||||
<const>bold</const>
|
<const>bold</const>
|
||||||
</edit>
|
</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>
|
</match>
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
|
Loading…
Reference in New Issue