[XeTeX] bug in XeTeXFontMgr_Linux.cpp

Jyotirmoy Bhattacharya jmoy.matecon at gmail.com
Sat Apr 22 06:43:16 CEST 2006


In file TeX/texk/web2c/xetexdir/XeTeXFontMgr_Linux.cpp,  line 54 (in
XeTeXFontMgr_Linux::searchForHostPlatformFonts) should read

FcObjectSet*    os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, FC_FILE,
FC_INDEX, FC_FULLNAME,(char *)0);

and not

FcObjectSet*    os = FcObjectSetBuild(FC_FAMILY, FC_STYLE, FC_FILE,
FC_INDEX, FC_FULLNAME);

The absence of the sentinel value (char *)0 causes XeTeX to segfault on my
system (Ubuntu Breezy Badget, fontconfig 2.3).

Jyotirmoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20060422/8c2df6b8/attachment.htm


More information about the XeTeX mailing list