SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    purple monkey dishwasher scoates's Avatar
    Join Date
    Nov 2001
    Location
    Montreal
    Posts
    794
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    imagettftext, GD2, and Freetype

    Hello, I'm playing with imagettftext:

    http://sean.caedmon.net/ttf_example.php?text=sitepoint

    This works fine with some fonts, and not fine with others:

    http://sean.caedmon.net/ttf_example....tepoint&font=a

    The (broken) font in question is available at:

    http://sean.caedmon.net/new/fonts/TRIACSEV.TTF

    I read that this might be because of a non-unicode font..

    how can I check this?
    is there a way to unicode-ify a font? (-:

    Thanks,
    S

  2. #2
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From what I've seen, non-unicode fonts can't be handled by Imagettftext().

    Found a good resource here: http://www.cl.cam.ac.uk/~mgk25/unicode.html

    My bet would be trying to find a command line tool for a Linux which does the dirty work, much like you can use the Imagemagick binaries.

    Lame answer I know but looks like a dead end otherwise.


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
  •