Re: [PHP] pixels per character

2005-04-15 Thread Marek Kilimajer
Christian Calloway wrote: Hey all, trying to dynamically size cell widths; what I need is a formula to measure pixels per character for an arbitrary font (in this case 10pt verdana). A simple function f(x) = strlen(x) * SOMECONSTANT just doesn't seem to cut it, as returned widths are to small ar

Re: [PHP] pixels per character

2005-04-14 Thread Greg Donald
On 4/14/05, Christian Calloway <[EMAIL PROTECTED]> wrote: > trying to dynamically size cell widths; what I need is a formula to measure > pixels per character for an arbitrary font (in this case 10pt verdana). A > simple function f(x) = strlen(x) * SOMECONSTANT just doesn't seem to cut it, > as ret

RE: [PHP] pixels per character

2005-04-14 Thread Chris W. Parker
Christian Calloway on Thursday, April 14, 2005 1:59 PM said: > trying to dynamically size cell widths; what I need is a formula to > measure pixels per character for an arbitrary font (in this case 10pt > verdana). A simple function f(x) = strlen(x) * SOMECONSTANT ju