Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl/Tk Font Weirdness

by tachyon (Chancellor)
on Nov 14, 2004 at 23:20 UTC ( [id://407733]=note: print w/replies, xml ) Need Help??


in reply to Perl/Tk Font Weirdness

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://407733]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found