Re: !! ImageTTFText not displaying Japanese text !!
| From: | Deepak Karunakaran | Date: | Mon, 30 Sep 2002 01:27:43 +0000 |
| Subject: | Re: !! ImageTTFText not displaying Japanese text !! | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-340@lists.php.net to get a copy of this message | ||
Hello Experts.
I found that when I increase the font size in ImageTTFText(), I could get
correct Japanese characters displayed. However, one would not require such a
big font size of 17. I have tried above using Windows MSMincho fonts. When I
try to use Watanabe-mincho & Wadalab-gothic fonts coming with Linux, I get
"Problem in loading glyph".
How can I get the font size reduced to 10 without characters getting
distorted? How can I avoid glyph problems when using Linux fonts?
Please help!
Regards,
Deepak
"Deepak Karunakaran" <deepak@mediaglue.co.jp> wrote in message
news:20020927035544.91387.qmail@pb1.pair.com...
> Hello Experts,
>
> I have been trying very hard to get Japanese characters displayed in
images
> using GD library from PHP. I use:
> PHP4.1.2
> freetype2.0.9
> gd1.8.4
>
> But it seems that the images are displayed with weird strokes instead of
> texts. The text consists of English and Japanese Characters. I am using
> "watanabe-mincho.ttf" font available in linux.
>
> Please help! Thanks in advance.
>
>