Re: [PHP] determining the pixel width of a string

2001-08-31 Thread _lallous
It also depends on the font! it might be a fixed font or not a fixed font! Don Read [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 30-Aug-2001 John Meyer wrote: Is there anyway to determine the pixel width of a string? $font=2;

Re: [PHP] determining the pixel width of a string

2001-08-31 Thread Don Read
On 31-Aug-2001 _lallous wrote: It also depends on the font! it might be a fixed font or not a fixed font! True, but the five installed GD fonts are fixed cell fonts. Don Read [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 30-Aug-2001 John Meyer

[PHP] determining the pixel width of a string

2001-08-30 Thread John Meyer
Is there anyway to determine the pixel width of a string? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] determining the pixel width of a string

2001-08-30 Thread Don Read
On 30-Aug-2001 John Meyer wrote: Is there anyway to determine the pixel width of a string? $font=2; $strpx=imagefontwidth($font) * strlen($str); Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to