Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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.



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://407733]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-07-22 06:42 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (452 votes). Check out past polls.