Author Topic: Chinese New Year Gift  (Read 11389 times)

cs_jacky

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • http://
Chinese New Year Gift
« Reply #15 on: February 13, 2005, 09:19:03 am »
I think xterm can't display Chinese or Korean characters.

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Chinese New Year Gift
« Reply #16 on: February 13, 2005, 09:31:48 am »
i can't input chinese at qbedic. chinese->english

cs_jacky

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • http://
Chinese New Year Gift
« Reply #17 on: February 13, 2005, 10:27:52 am »
Quote
i can't input chinese at qbedic. chinese->english
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66842\"][{POST_SNAPBACK}][/a][/div]

qbedic is a qt program. The input method supports gtk only.

radon88

  • Newbie
  • *
  • Posts: 14
    • View Profile
Chinese New Year Gift
« Reply #18 on: February 13, 2005, 12:32:01 pm »
Quote
I think xterm can't display Chinese or Korean characters.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66840\"][{POST_SNAPBACK}][/a][/div]

Try this ipk and tell me if xterm can display chinese correctly

new xterm will be installed at  /usr/local/bin,

so, try

/usr/local/bin/xterm -fn <english-iso10646-1-font> -fw <chinese-iso10646-1-font>

Cheers.
« Last Edit: February 13, 2005, 12:32:59 pm by radon88 »

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Chinese New Year Gift
« Reply #19 on: February 14, 2005, 10:55:09 pm »
error:
xterm unable to open font "-misc-fixed-medium-r-semicondensed-13-120-75-75-c-60-iso10646-1",trying "fixed"...

radon88

  • Newbie
  • *
  • Posts: 14
    • View Profile
Chinese New Year Gift
« Reply #20 on: February 14, 2005, 11:50:08 pm »
Quote
error:
xterm unable to open font "-misc-fixed-medium-r-semicondensed-13-120-75-75-c-60-iso10646-1",trying "fixed"...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67063\"][{POST_SNAPBACK}][/a][/div]

sorry for inconvenience.

I forgot that Z had no english-iso10646-1-fonts in default.

here's needed font.

put it to /usr/X11R6/lib/X11/fonts/misc

and

Code: [Select]
cd /usr/X11R6/lib/X11/fonts/misc

edit font.dir

add 1 to the first line's number

and add a next line into the last line.

Code: [Select]
6x13.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

Code: [Select]
xset fp rehash

now try
    /usr/local/bin/xterm
again.

thanks for help with experiment.

 

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Chinese New Year Gift
« Reply #21 on: February 15, 2005, 11:36:40 pm »
i have n't  found any 10646-chineses-font .

radon88

  • Newbie
  • *
  • Posts: 14
    • View Profile
Chinese New Year Gift
« Reply #22 on: February 16, 2005, 01:38:27 am »
Quote
i have n't  found any 10646-chineses-font .
[div align=\"right\"][a href=\"index.php?act=findpost&pid=67242\"][{POST_SNAPBACK}][/a][/div]

Uh-oh.

I know nothing about chinese font and anyone can help me?

Cheers,

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Chinese New Year Gift
« Reply #23 on: February 16, 2005, 02:11:56 am »
When I said that I was going to help people wanting chinese I found several links about chinese fonts:

 http://seba.studentenweb.org/thesis/howto-fonts.php
 http://tavi.debian.org.tw/index.php?page=Unifonts
 http://jeff.cs.mcgill.ca/~luc/china.html
 http://www.cl.cam.ac.uk/~mgk25/unicode.html#getxterm
 http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html
 http://directory.fsf.org/localization/intlfonts.html

Note also that you should be able to use ttf font using:
Code: [Select]
xterm -fa  xxx  
if you have xterm with freetype support and a xxx.ttf font.

Also in this japanese related feed there is mrxvt  that has freetype support and might be usefull

Hope this helps.
SLC-860 cacko / senao wifi