Keep It Simple, Stupid | |
PerlMonks |
Re: Perl/Tk Font Weirdnessby tachyon (Chancellor) |
on Nov 14, 2004 at 23:20 UTC ( [id://407733]=note: print w/replies, xml ) | Need Help?? |
Short answer make the - bold. Long Answer: On the Windows platform, ascii font mappers and the windows operating system default to using the Windows 1252 codepage (in the US) within the font and other Windows specific codepages elsewhere in the world. The Windows 1252 codepage has gyyphs associated with the characters associated with \x80 - \x9f, however, this range is usually reserved for control characters. It appears that Tk is (correctly) not mapping to Windows 1252 (because it is platform independent). Most likely Tk is mapping to the UniCode pages for Basic Latin (for hex 20-7F) and the Latin Supplement (for hex 80-FF). The code pages for Latin Supplement do not support hex 80-9F, thus your problem. cheers tachyon
In Section
Seekers of Perl Wisdom
|
|