Hi Matthias, thank you for your reply. Indeed the question marks are inside the postscript. I was checking the postscript code generated and for the Unicode characters it looks like this:
gsave /Helvetica findfont 6 scalefont ISOEncode setfont 0.000 0.392 0.000 setrgbcolor AdjustColor 413 1250 [ [( ? )] ] 14 -0 0 0 false DrawText grestore Strings in postscript are enclosed in parenthesis ( ) I have tried it only on Linux (FC5). I went through the documentation of tcl/tk it they claim that the canvas postscript is working with Unicode characters. Best Regards Vasilis -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, 20 March 2007 12:13 To: [email protected] Subject: Re: [Tkinter-discuss] Unicode characters in canvas postscript Hello Vasilis, >I want to add "print to postscript" functionality on my program. I have >used the "postscript" method of Canvas, and it works nicely apart from >all no-latin (Unicode) characters. On the screen appear Ok but on the >postscript are replaced by question marks ?. Do you mean question marks in the Postscript file or the printout? If the Postscript file looks ok, it's your printing system. At least on Mac OS X there were several issues regarding unicode and Tk. So your Tk should be quite recent. I could give it a try on a Linux system, if you're interested. Regards, Matthias Kievernagel (mkiever/at/web/dot/de) _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
