views:

164

answers:

1

I'm using imagettftext to generate images from OpenType files. Everything works until I try to use an accented character (e.g. å) or a character such as √. In their place I get the .notdef glyph.

The fonts I'm using definitely have these characters. To make things even more frustrating, when I use a TTF everything works as expected.

Any ideas?

Thanks

+1  A: 

Sorry to tell you, but PHP OTF supports only standard Ascii characters. It's a well known fact that special characters in OTF only very rarely work. I'm afraid you will have to stick with TTF until they correct that.

Sorcy
Thanks. That's good to know. Much appreciated.
DB