Re: how to use imagestring() function with Chinese String

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

 



Hi Davis,

Saturday, July 28, 2007, 1:54:22 AM, you wrote:

> Hi! I am trying to use the imagestring() function to put a string of 
> Chinese characters from a $_GET variable onto an image. However, the 
> characters do not display right (English is fine). Is there a way I can
> fix this or it is the limitation of the function itself? Thanks.

Using the built-in fonts will not give you Chinese character support.
You need to either build your own font, or find a True Type font that
does have the character set you require, and use the image ttf
functions instead.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux