You are here: Re: italic, bold and underline with GD ? « PHP « IT news, forums, messages
Re: italic, bold and underline with GD ?

Posted by Norbert Wenzel on 11/07/05 11:03

David wrote:
> Can we use some function with GD to make text italic, bold and/or
> underline?
>
> http://php.net/imagettftext
>
> I see we can change size and font, but not style
>
> it's not possible in PHP?
>
> Thanks in advance
> David

I'm not familiar with GD, but as every good font has different versions
for bold, italic and so on, you might use those versions with separate
font files.

And since underlining is just a simple line (don't know how this works
in GD, I've done this in FPDF) I would just draw a line from the
beginning of the word to the end ... if it is possible in GD to get the
current "cursor" position before and after inserting text.

 

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

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