SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    will code HTML for food Michel V's Avatar
    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?
    Last edited by Michel V; Feb 22, 2005 at 07:06. Reason: make the title a question so that readers don't mistake it for a howto
    [blogger: zengun] [blogware contributor: wordpress]


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •