Re: How to support Chinese fonts in X11?

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

 



Wa bu ji du (I don't know) Sammy, but I will say this:  X11 (and perhaps the main Linux distributions) should really improve their default font set, when programming with gcc I have no idea what fonts are available.  Perhaps there is a way of searching through fonts, and determining their sizes.

Ted

Samuel Teng wrote:
Hi Ted,

Thank you for your reply!! 

I am sure I have the Chinese fontset. I tested it with /usr/X11R6/bin/xfontsel,
I can select "sont ti" and "fangsong ti".   It is likely located at 
/usr/X11R6/lib/X11/fonts/misc/. My MIPS target file-system seemed to be similiar
to that in Redhat 9. 

I tried to execute this line:
# xmessage -g 320x240 -center -fn hanzigb16st -button Hello "你好"
But nothing will displayed on the button and in the message box!
Please refer to the attached Xmessage_demo_CN.png

If I make a change like this:
xmessage -g 320x240 -center  -button Hello "How are you"
The display seems OK! Please refer to the Xmessage_demo_EN.png

Why xmessage didn't display Chinese? Please help me!

Thanks!

................................................................................

-------- Original Message --------

  
Is there a standard fonts package that people get for X? Because the
fonts I can Load in C are extremely limited (in additoin to a package
with the main international fonts).

thanks
Ted

    

  

-- 
Ted Huntington        
Programmer Analyst  
Main Library       
University of California, Irvine
PO Box 19557
Irvine, CA 92623-9557

Phone Bus Off 949 824 8926
Phone MRC     949 824 1674
emesg: thunting@xxxxxxx
webpage:  http://business.lib.uci.edu/webpages/ted.htm
"Stop violence, teach science."

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux