gd + ce ttf fonts

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yep \(yeap\)

    #1

    gd + ce ttf fonts

    Is there a way to get Central European specific characters (croatian, to be
    specific) out of ttf fonts (arial, tahoma, verdana etc) in pictures
    generated with GD library? Right now I'm getting squares and blanks.

    Thx


  • Yeap

    #2
    Re: gd + ce ttf fonts

    "Jochen Buennagel" wrote:[color=blue]
    >
    > Tell us some more about your setup (OS, PHP version, ...)[/color]

    I wouldn't say it's PHP version related problem, sounds more like GD thing.

    Anyway, the following systems all show the same (or better to say does not
    show):

    1. Debian 3.0, Apache 1.3.27, PHP 4.1.2, gd 1.7
    2. WinXP, Apache/2.0.45, PHP/4.3.3RC1, gd 2.0.15


    Comment

    • Jochen Buennagel

      #3
      Re: gd + ce ttf fonts

      Yep (yeap) wrote:
      [color=blue]
      > Is there a way to get Central European specific characters (croatian, to be
      > specific) out of ttf fonts (arial, tahoma, verdana etc) in pictures
      > generated with GD library? Right now I'm getting squares and blanks.[/color]

      Are you using the proper encoding for the extended characters? I'm not
      familiar with the Croatian language. What special characters does it
      use? If they are located after the 255th position in the Truetype font,
      you must use the UTF-8 sequence for them.

      Jochen
      --
      /**
      * @author Jochen Buennagel <zang at buennagel dot com>
      */

      Comment

      Working...