freetype
[Top][All Lists]
Advanced

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

[ft] freetype/gd with mac font


From: Aaron Winborn
Subject: [ft] freetype/gd with mac font
Date: Thu, 03 Jul 2008 16:15:54 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080502)

sorry if this is a repost; my dns went down in the middle of sending it.

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 a 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 using both files

any ideas of what to try next?

thanks,
aaron




reply via email to

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