Reply to Re: [PHP] pixels per character

Your name:

Reply:


Posted by Marek Kilimajer on 09/30/83 11:13

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 are long. Any ideas?

Try imagettfbbox().

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация