freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] freetype+gd with mac fonts?


From: Aaron Winborn
Subject: [ft] freetype+gd with mac fonts?
Date: Thu, 03 Jul 2008 15:32:46 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080502)

i am attempting to create an image in php with gd, using freetype for fonts. i can get it working with a .ttf font, but have the mac version of another font that i want to use, and it doesn't load. i saw the warning at http://us.php.net/imagettftext about .ttf being automatically appended, but i'm prepending the font with a /path/ anyway, so it shouldn't matter. just to make sure, i tried the putenv('GDFONTPATH=' . realpath('.')); trick and also tried manually renaming the font with a .ttf extension, both to no avail.

i don't know mac's file standards, but i did notice there was a font GothBla in one folder, and ._GothBla in Gotham/__MACOSX, so i've tried all of this using both files.

any ideas of what to try next?

thanks,
aaron winborn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]