what?
This is from the docs for gd:
"There are four built-in fonts, available in global variables gdGiantFont, gdLargeFont, gdMediumBoldFont, gdSmallFont and gdTinyFont. "
also stringTTF() is for using true type fonts(which is what I'm trying to do)
| [reply] |
Note to Lincoln: There are five built-in fonts...
- gdGiantFont
- gdLargeFont
- gdMediumBoldFont
- gdSmallFont
- gdTinyFont.
But ++ for the note on built in fonts... I was *this* close to a duplicate post.
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.
| [reply] |
I have no experience with using TTF fonts in GD, but I can imagine something like this to happen when you chose a non-existing font or a font that does not have the characters you want to print out.
It even happens in M$ Word sometimes when you load a document created on another PC where the creator selected a font that does not exist on your system. Even then you get those 'small boxes' you refer to...
Jouke Visser, Perl 'Adept'
| [reply] |
GD has only one text font. If you want to use more than one font type you need to install Image::Magick, its better for annotating pics.
Update: I stand corrected. Refer to the posts below. Though I do like using Image::Magick better. :)
BMaximus
| [reply] |