|
Description
|
The quality of bold font emulation is a bad after the nevada b68.
See attached new-bug-xft.png image. It's too thick. The previous
version was like the old-xft.png image. It seems that this is
caused by
6315639 Upgrade Xft in Solaris to 2.1.12
I looked a source and found that cjk-embolden.patch is no longer
needed because Xft 2.1.12 has already had this feature by using
FC_EMBOLDEN support.
===
% grep FC_EMBOLDEN *.c
xftdpy.c:#ifdef FC_EMBOLDEN
xftdpy.c: if (!_XftDefaultInitBool (dpy, pat, FC_EMBOLDEN))
xftdpy.c:#ifdef FC_EMBOLDEN
xftdpy.c: if (FcPatternGet (pattern, FC_EMBOLDEN, 0, &v) == FcResultNoMatch)
xftdpy.c: FcPatternAddBool (pattern, FC_EMBOLDEN,
xftdpy.c: XftDefaultGetBool (dpy, FC_EMBOLDEN, screen,
xftfreetype.c:#ifdef FC_EMBOLDEN
xftfreetype.c: switch (FcPatternGetBool (pattern, FC_EMBOLDEN, 0, &fi->embold
en)) {
===
http://lists.freedesktop.org/archives/xlibs-commit/2005-February/001645.html
===
Using both cjk-embolden.patch and FC_EMBOLDEN causes too thick
character to be drawn. So this cjk-embolden.patch should be removed.
After I removed this(see new-fix-xft.png). it works fine, although
it is still bid thick comparing with the previous version but I think
this is acceptable.
|