Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Text won't display in Perl/Tk

by teabag (Pilgrim)
on Jan 11, 2005 at 20:18 UTC ( #421404=note: print w/replies, xml ) Need Help??


in reply to Text won't display in Perl/Tk

Hmm, a little code would help here.

Are you using Tk::FontDialog?

from the docs:

CAVEAT
Note that font names with whitespace like ``New century schoolbook'' or ``MS Sans Serif'' can cause problems when using in a -font option. The solution is to put the names in Tcl-like braces, like

-font => "{New century schoolbook} 10"

in your case:
-font => "{Times New Roman} 10"

kind regards,


teabag
Blessed is the end user who expects nothing, for he/she will not be disappointed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2020-11-24 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?