On 07/17/12 11:10, Greg Ercolano wrote:
>>> It seems xft is required for utf8 to work though - is this true ?
>>
>>      No, I don't think that's true; I've rendered utf8 stuff without xft,
>>      pretty sure.

    Just verified; I built this test program on the utf8 patched 1.1.6
    (oksid's utf8 patch):
    http://seriss.com/people/erco/fltk/utf8-japanese-songs.cxx

    In my case, I had to change the Fl::set_font() line to read:

    Fl::set_font(FL_HELVETICA,
        "-*-courier-medium-r-normal--*-iso8859-1,"
        "-*-gothic-medium-r-normal--*-*-*-*-*-*-jisx0208.1983-*,"
        "-*-fixed-*-*-*--*-*-*-*-*-*-jisx0208.1983-*");

    ..due to the fonts on that older fedora3 system.

    Here's a screenshot from my run of that run:
    
http://seriss.com/people/erco/fltk/tmp/japanese-xft-disabled-1-1-x-utf8-patch.png
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to