DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2158
Version: 1.3-current


If your browser can display it, you probably have the right fonts at least
somewhere on your system. 

Under linux, you probably have to tweak around with Fl::setfont() at the
head of your app to get FLTK to show the utf8 strings correctly, since by
default it seems to select fonts with limited glyphs.

I always eventually get things to work by noodling around with xfontsel()
and doing 'locate iso-8859' and sniffing through the 'man -k iso-8859' man
pages, and by having samples of the font copy/pasted from a website or
customer having the problem, and trying different fonts from xfontsel
until it works.

Usually it's a matter of tracking down the right font to stick in
Fl::set_font().. each rev of linux seems a bit different. With XFT, I've
been able to get e.g. japanese to work with:

        Fl::set_font(FL_COURIER, "Kochi Gothic");

Without XFT, I usually have to mess with xfontsel. For European fonts, see
eg. 'man iso-8859-1' which lists what the last digit means.


Link: http://www.fltk.org/str.php?L2158
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to