PHP Developers Network
http://forums.devnetwork.net/

Japanese characters in GD
http://forums.devnetwork.net/viewtopic.php?f=40&t=121079
Page 1 of 1

Author:  sysadmin [ Sat Sep 11, 2010 1:27 pm ]
Post subject:  Japanese characters in GD

In a PHP module, We have a few graphics made by GD that need to have some Japanese words in it.
These words are entered manually from a form by Japanese users, and that text should be displayed within the graphics.

PHP has the mbstring module and can display and handle Japanese words via echo with no problem.

However `gd` displays `???` instead.

Checking `gd_info()`, the following configuration is set

JIS-mapped Japanese Font Support: Disabled

This could be the problem. But I didn't find how to `Enable` it.

Is is possible on Ubuntu 10.04 (PHP 5.3.3) without recompiling the whole PHP?

Thanks

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/