freetype
[Top][All Lists]
Advanced

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

Re: [ft] Opentype support of specual characters


From: Werner LEMBERG
Subject: Re: [ft] Opentype support of specual characters
Date: Sun, 22 Mar 2015 19:09:36 +0100 (CET)

> is it possible to use the special characters like ö, ü, ö, ß from
> opentype (otf) fonts in PHP?

If the font contains those glyphs, and it also contains a Unicode cmap
(which is standard today), it should work.

> I used this: 
> 
> ImageTTFText ($image, 30, 0, 0, 40,
>               $font,"tmp/AnieneNuovaEF-Regular.otf",$text);

I don't know this `ImageTTFText' function, since I'm not using PHP.
Are you sure that `$text' has the right encoding?  You should look up
the documentation.


    Werner

reply via email to

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