Thank you for your help. Pardon the ignorance, but I have 3 questions:
in reply to Re: font measurement
in thread font measurement
UPDATE: I must be missing something. I thought I would put the name of the font of my choice from my system in place of the 'system' in your code. No matter what font I put there, even a very wide one like Trajan Pro, I get the same pixel width.
- I don't understand this comment. Why is it there? #$mw->fontNames
- What is the use of the %d variable?
- Why was the command $font->measure( $text ) placed after the print command?