> But the point is, even if the widget itself will display non-ASCII characters > using UTF-8 encoding, the Fl_Postscript_Printer won't print them :( If I'm > not mistaken, I saw it in the 1.3.x docs: by now only Latin chars are > supported... > > I just wonder, is there a way (no matter how strange and perverted :)) to > print cyrillic text in fltk-1.3.x?
I'm afraid you're right. Currently Fl_PostScript_Printer only knows the standard FLTK fonts that are mapped to the standard PS fonts - and AFAIK these are Latin fonts, and Fl_Postscript_Printer replaces all non-latin characters with a reverted question mark. So, what we would need is a way to specify a user font (e.g. a cyrillic one) and a way to specify the font mapping (UTF-8 to font character codes). Neither is implemented currently, and there's no API defined for this. :-( Any ideas and/or code would be appreciated. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

