Re: Japanese Display for gtk+-1.2.9
- From: Xyber Blue <xyberblue gmail com>
- To: "mpsuzuki hiroshima-u ac jp" <mpsuzuki hiroshima-u ac jp>
- Cc: gtk-list gnome org
- Subject: Re: Japanese Display for gtk+-1.2.9
- Date: Mon, 31 Oct 2005 15:45:36 +0800
>>If works correctly (it means X11 itself is capable to display
>>Japanese text with XmbDrawString, which is used by gtk+-1.2.x
>>either), you will receive small window like attached GIF.
Thanks mpsuzuki for the sample program...
Unfortunately, theres no Japanese text displayed on its window. So
meaning our ported X-Window has fault. Is there any component needed
from the X-Window Package that we have not included???
On 10/31/05, mpsuzuki hiroshima-u ac jp <mpsuzuki hiroshima-u ac jp
> wrote:On Thu, 27 Oct 2005 23:40:13 +0900
mpsuzuki hiroshima-u ac jp wrote:
>In next, I have to write small X11 test program to display
>Japanese text...
Attached is sample to display Japanese text with the font:
-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
Compile it as:
gcc -I/usr/X11R6/include -o xmbcs xmbcs.c -L/usr/X11R6/lib -lX11
Execute it as:
env LANG=ja_JP ./xmbcs
If works correctly (it means X11 itself is capable to display
Japanese text with XmbDrawString, which is used by gtk+-1.2.x
either), you will receive small window like attached GIF.
Regards,
mpsuzuki
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]