By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,013 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

gd + ce ttf fonts

P: n/a
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
Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Jochen Buennagel" wrote:

Tell us some more about your setup (OS, PHP version, ...)


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
Jul 16 '05 #2

P: n/a
Yep (yeap) wrote:
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.


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>
*/

Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.