SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Feb 22, 2005, 04:44 #1
- Join Date
- Sep 2000
- Location
- Corsica
- Posts
- 552
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
how would one use Mac OS X's fonts in imagepsloadfont?
Hello,
Lately I've started coding an all in one title images class for our agency's internal PHP developments, and it so happens that we're rather short on TTF files.
But having been in business for 15 years, and having used Macs for pretty much as long, we do own a lot of PostScript fonts.
So we would like to take advantage of this vast collection with PHP.
It seems that PHP could use these by loading the .pfb, but I have no idea how to access this from PHP, what with OS X's resource forks and all.
An ls -la in ~/Library/Fonts/SomeFontDir shows only files with 0 bytes sizes.
So the question is: how does one use OS X's PostScript fonts with PHP?
Bookmarks