DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Getting the list of encodings or the list of font sizes leads to a crash.
The crashing function is XftListFonts.
Crash does not happen if the query is changed, from, say:
fs = XftListFonts(xdisplay, xscreen,
XFT_FAMILY, XftTypeString, name_, 0,
XFT_ENCODING, 0);
to:
fs = XftListFonts(xdisplay, xscreen,
XFT_FAMILY, XftTypeString, name_, 0,
XFT_ENCODING, XFT_FAMILY, 0);
but still I get no encodings.
fltk::Font::encodings(const char**& arrayp)
has a bug in that it incorrectly sets a static variable
XftFontSet* fs without initializing it (and this gets destroyed
afterwards). However, this is not the source of the crash for me.
Link: http://www.fltk.org/str.php?L1660
Version: 2.0-current
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs