Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl/Tk Font Weirdness

by tachyon (Chancellor)
on Nov 14, 2004 at 23:20 UTC ( #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
Node Status?
node history
Node Type: note [id://407733]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2018-11-21 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (239 votes). Check out past polls.

    Notices?