>> in fltk-1.3 and all should be well. Probably... > > 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...
Yes - I realised that later, after I had posted the reply. Currently, our Postscript output is just ASCII + a few bits, I guess. > I just wonder, is there a way (no matter how strange and perverted > :)) to print cyrillic text in fltk-1.3.x? Well, if you aren't brothered too much about quality, then you could render the widget into an fl_offscreen then grab that into a PNG and then print that. This is what I did when I had to print stuff before, and it works OK, albeit a bit blocky. I contrived to make the offscreen context very large, then wrote everything out BIG to minimise the blockiness, then wrote the raw image data to a series of PNG files (one per page) with the DPI value set to a suitable lie. The PNG's weren't even that big, since it was very compressible data - mostly flat background colour. Well, you did ask...! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

