[DUG] Unicode and canvas.Textout

Phil Scadden p.scadden at gns.cri.nz
Thu Nov 23 14:14:05 NZDT 2006


Not entirely separate from the question earlier about MBCS, but does anyone
know the "right" way to write unicode to a graphics canvas? With
MBCS you can set the charset in TFont, and convert unicodetoMBCS. The
snag is that you have to know the code page to work with to match the
characterset. I thought this was what unicode wanted to avoid. 
I can do raw TextOutW I guess...

----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232



More information about the Delphi mailing list