OpenSolaris

Printable Version Enter a New Search
Bug ID 6652947
Synopsis Bold font emulation in Xft is disabled after nevada b80.
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:font
Keywords
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_83
Fixed In snv_83
Release Fixed solaris_nevada(snv_83)
Related Bugs 6632594
Submit Date 21-January-2008
Last Update Date 4-February-2008
Description
Bold font emulation in Xft is disabled after nevada b80.

% uname -a
SunOS islay 5.11 snv_79 i86pc i386 i86pc
% nm /usr/X11/lib/libXft.so.2|grep FT_GlyphSlot_Embolden
[259]   |         0|         0|FUNC |GLOB |0    |UNDEF  |FT_GlyphSlot_Embolden

% uname -a
SunOS kashira 5.11 snv_80 i86pc i386 i86pc
% nm /usr/X11/lib/libXft.so.2|grep FT_GlyphSlot_Embolden

Here is the code that is in libXft-2.1.12/src/xftglyphs.c.
===
#if HAVE_FT_GLYPHSLOT_EMBOLDEN
        /*
         * Embolden if required
         */
        if (font->info.embolden) FT_GlyphSlot_Embolden(glyphslot);
#endif
===
It looks that the definition of HAVE_FT_GLYPHSLOT_EMBOLDEN was
removed after b80. If libXft is build on nv_b79, FT_GlyphSlot_Embolden
is disabled by configure because there is no libfreetype under /usr/lib.
===
% uname -a
SunOS islay 5.11 snv_79 i86pc i386 i86pc
% grep 'checking for FT_GlyphSlot_Embolden...' LOG-b79
checking for FT_GlyphSlot_Embolden... no
checking for FT_GlyphSlot_Embolden... no
===
If it is build on nv_b80, FT_GlyphSlot_Embolden is enabled.
===
% [13]uname -a
SunOS matsu 5.11 snv_80 i86pc i386 i86pc
% grep 'checking for FT_GlyphSlot_Embolden...' LOG-b80
checking for FT_GlyphSlot_Embolden... yes
checking for FT_GlyphSlot_Embolden... yes
===
So this is build issue which is caused by the following freetype moving.
6632594 FreeType move from /usr/sfw to /usr
Work Around
N/A
Comments
N/A