You are here: question about php and imagettftext (and flash) « All PHP « IT news, forums, messages
question about php and imagettftext (and flash)

Posted by Steve Belanger on 04/09/07 21:34

Hi,

i am creating a 'design online' flash tool that allows me to design
something with flash, throwing graphics and text elements. i then export
that using XML data and have PHP create a jpeg version of what the flash
contained.

my problem is that i use imagegettftext to render my text elements (it can
be bolded, italic, different font sizes and different fonts).

i have my font ttl files uplaoded and it works in displaying the text,
however when i compare my flash version against the resulting image, it's
not exactly like the flash version.

flash works in point size, GD2 works also in point size, should it not be
normal that by using the point size right away it should find the proper
spot and ouput the text the way it was set in flash?

i am scratching my head on this since a while. any help would be deeply
appreciated.

Steve

 

Navigation:

[Reply to this 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

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