PDF::Create has a function that will return the width of a string given the string and the font (but doesn't take into account the font size, so you have to multiply by that), but only has very limited support for fonts. Nothing to stop you looking at the code to see how it's done though ;)
In reply to Re: Variable Width Printing on XP
by Nevtlathiel
in thread Variable Width Printing on XP
by T.G. Cornholio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |