Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Changing the Font of a specific character in a Text in a Canvas

by zentara (Archbishop)
on Jul 14, 2008 at 12:43 UTC ( #697465=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Changing the Font of a specific character in a Text in a Canvas
in thread Changing the Font of a specific character in a Text in a Canvas

The problem with computing the 9, I believe, is that the actual character sits in an invisible box. If you could get all fonts to sit on the bottom of the box, they would line up and you could do an easy calculation to align them. BUT... the characters seem to sit in the middle of the box, and the box changes with font size. There are the anchor, and justify options, but I didn't play around with them long enough to see if they can line them up.


I'm not really a human, but I play one on earth CandyGram for Mongo


Comment on Re^3: Changing the Font of a specific character in a Text in a Canvas

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-11-27 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (188 votes), past polls