Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: font measurement

by fisher (Priest)
on Jan 30, 2012 at 13:39 UTC ( #950769=note: print w/replies, xml ) Need Help??


in reply to Re^2: font measurement
in thread font measurement

AFAIK the Font::Freetype suite can render you at least one given symbol. Assuming that spacing between characters will be constant, you can calculate the size of any string, using these data.

But there is also Font::TTF, which I didn't used before - start reading from this point, I guess.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950769]
help
Chatterbox?
[erix]: when is the bird-brain's inauguration tweet?
[erix]: (wasn't augur something to with birds too?)
[erix]: augur
[erix]: ah, deciding on the the flight of birds - good idea ;)
[Discipulus]: as good as the Roma foundation
Discipulus we began with a fratricide..
[erix]: ah, Romulus killed Remus. Sad! ;)
erix .oO( does Trump have a brother ? )

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-01-20 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.