[thelist] php on-the-fly image and text generation question

Dunstan Orchard dunstan at 1976design.com
Sun Oct 13 18:48:01 CDT 2002


Ah, it was a font size thing specific to that font - first I had to get rid of
the anti-aliaising (by setting the font colour to a minus value) and then I
had to set the size to 7.9 and not 8 for it to work properly - even though the
font is optimized to work at 8pt.

http://www.1976design.com/testarea/photo/image2.php

// write text
$title = ImageTTFText($Image, 7.9, 0, 10, 230, -$black, "slkscr.ttf", "Fats
Wallace Bridge, Washington DC");



cheers - dunstan

---------------------------
Dorset, England
http://www.1976design.com/
http://www.orchard.it/
http://www.maccaws.org/



More information about the thelist mailing list