OpenSolaris

Printable Version Enter a New Search
Bug ID 6580918
Synopsis Bad quality of bold font emulation in Xft
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:font
Keywords
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_73
Fixed In snv_73
Release Fixed solaris_nevada(snv_73)
Related Bugs 6585786
Submit Date 16-July-2007
Last Update Date 3-September-2007
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.
Work Around
N/A
Comments
N/A