Author Topic: Japanese  (Read 6966 times)

ThatWikiGuy

  • Guest
Japanese
« on: January 16, 2009, 07:07:20 PM »
Is there a wayto get this laptop to show japanese characters?
and what folder are fonts kept in and what format?

takeru

  • Guest
Re: Japanese
« Reply #1 on: March 06, 2009, 06:20:35 PM »
Me too! I'm Japanese and I want to show/input Japanese text.
Adding fonts and scim would help me but I haven't got it :(
Does anyone know about this?

wicknix

  • Guest
Re: Japanese
« Reply #2 on: March 07, 2009, 03:13:49 AM »
I cant help you on with the fonts, but i can help you with scim. Its packaged up on my site.

http://www.freeshells.ch/~wicked74/alpha400/packages/

Cheers.

takeru

  • Guest
Re: Japanese
« Reply #3 on: March 07, 2009, 08:54:58 AM »
Thanks very much wicknix :D
OK, I'll try it. I wish I could install Anthy, Japanese input system with scim.
I'll make an effort to do though I'm newbie ;)

and I installed japanese font, it works!
1. Copy ttf file to /usr/X11R6/lib/X11/fonts/NewFont
2. Edit /etc/X11/xorg.conf and add this line: FontPath     "/usr/X11R6/lib/X11/fonts/NewFont"
3. then Type:
cd /usr/X11R6/lib/X11/fonts/NewFont
mkfontscale
mkfontdir -e
fc-cache -f -v

monoreille

  • Guest
Re: Japanese
« Reply #4 on: March 07, 2009, 06:45:43 PM »
Thanks very much wicknix :D
OK, I'll try it. I wish I could install Anthy, Japanese input system with scim.
I'll make an effort to do though I'm newbie ;)

and I installed japanese font, it works!
1. Copy ttf file to /usr/X11R6/lib/X11/fonts/NewFont
2. Edit /etc/X11/xorg.conf and add this line: FontPath     "/usr/X11R6/lib/X11/fonts/NewFont"
3. then Type:
cd /usr/X11R6/lib/X11/fonts/NewFont
mkfontscale
mkfontdir -e
fc-cache -f -v
Oraho Takeru-kun
Sumi-masen,demo,i don't understand how you can to copy ttf file?
me,i 've 2 file ttf
and i don't have the "xorg.conf",so if you can to give more explains,really thx a lot of
Because i need too japanese kanji for my wife
Domo Arigato
cheers


emmerick

  • Guest

takeru

  • Guest
Re: Japanese
« Reply #6 on: March 08, 2009, 09:58:17 AM »
Konnitiwa, monoreille-san ;)

To copy a file, you have to be able to run Trerminal or Filemanager with full access.
Some official system don't have neither, so I installed 3MX on my laptop.
What's your system? If it's not 3MX, you can do easily with filemanager and if not, you have to get access to them (though I don't know how to do it) or install 3MX at first.

emmerick: it's nice for official system, easy to install.
Chinese font has some Japanese character though it looks a bit weird.

If monoreille has no idea how to install, you can use Chinese font posted by emmerick temporarily.

monoreille

  • Guest
Re: Japanese
« Reply #7 on: March 08, 2009, 10:22:29 AM »
Konnitiwa, monoreille-san ;)

To copy a file, you have to be able to run Trerminal or Filemanager with full access.
Some official system don't have neither, so I installed 3MX on my laptop.
What's your system? If it's not 3MX, you can do easily with filemanager and if not, you have to get access to them (though I don't know how to do it) or install 3MX at first.

emmerick: it's nice for official system, easy to install.
Chinese font has some Japanese character though it looks a bit weird.

If monoreille has no idea how to install, you can use Chinese font posted by emmerick temporarily.

Hi Takeru-san
I've the  3MX RC 1.1,and for copy i can use the MC
i've installed antiword and scim too
i used mc for copy the file,but where is this file,for me it's to /bin and there is 2 files,1 ttfadmin.sh and 1 ttftool,i tried the 2 file
i used nedit for edit and i don't have the xorg.conf only other different file
So ,like i'm newbie with linux,maybe i forget something,^^
So thx for your help
JA-ne

takeru

  • Guest
Re: Japanese
« Reply #8 on: March 08, 2009, 11:41:01 AM »
hmm... these are all what I did:
first, get free japanese ttf font from the internet. and copy it to SD.
then run terminal, type these in order, line by line:

Quote
cd ../usr/X11R6/lib/X11/fonts/
mkdir NewFont
cd
cd ../SD/SD_1/ (If ttf in the root of SD)
cp xxx.ttf /usr/X11R6/lib/X11/fonts/NewFont
cd
cd ../usr/X11R6/lib/X11/fonts/NewFont
mkfontscale
mkfontdir -e
fc-cache -f -v

now, xxx.ttf is copied to the folder "/usr/X11R6/lib/X11/fonts/NewFont".

then run text editor (like leafpad or something) and open "xorg.conf" at "/etc/X11/", and add this line to [Section "Files"]:
Quote
FontPath     "/usr/X11R6/lib/X11/fonts/NewFont"

now, copied ttf font is registerd.

sorry for my poor explanation... I don't know decent way because I'm noob too.
I wish I could make a package to install easily.

P.S. I installed 3MX-rc2, there are probably some difference.

monoreille

  • Guest
Re: Japanese
« Reply #9 on: March 08, 2009, 11:48:00 AM »

Humm,thx for your help
I found the msgothic.ttf and i copy to the good repertory like you said,
but i don't found xorg.conf for the last operation

I search again,but if somebody has an idea,it's perfect(i used the rc 1.1)

thx

ja
« Last Edit: March 08, 2009, 02:01:45 PM by monoreille »

wicknix

  • Guest
Re: Japanese
« Reply #10 on: March 08, 2009, 06:32:59 PM »
Yes, there is quite a bit of difference between rc1.1 and rc2. Rc2 uses full Xorg (x11) while rc1.1 uses a lightweight xserver-kdrive-fbdev better suited for slower embedded devices. Full Xorg is a little slower, but adds beter support for future games and video software. So thats why there is no xorg.conf in rc1.1. I'm sure you could still add fonts somehow. Maybe try adding them (in rc1.1) to /lib/X11/fonts/TTF, then in xterm type:
makefontscale /lib/X11/fonts/TTF
then
makefontdir -e /lib/X11/fonts/TTF
then
fc-cache -f -v

Not sure this will work, but its worth a shot.

Cheers.

monoreille

  • Guest
Re: Japanese
« Reply #11 on: March 08, 2009, 07:19:13 PM »
Yes, there is quite a bit of difference between rc1.1 and rc2. Rc2 uses full Xorg (x11) while rc1.1 uses a lightweight xserver-kdrive-fbdev better suited for slower embedded devices. Full Xorg is a little slower, but adds beter support for future games and video software. So thats why there is no xorg.conf in rc1.1. I'm sure you could still add fonts somehow. Maybe try adding them (in rc1.1) to /lib/X11/fonts/TTF, then in xterm type:
makefontscale /lib/X11/fonts/TTF
then
makefontdir -e /lib/X11/fonts/TTF
then
fc-cache -f -v

Not sure this will work, but its worth a shot.

Cheers.
I TRY,but i've this message on the xterm:"makefontscale: command not found"
thx for your help
c-yu

wicknix

  • Guest
Re: Japanese
« Reply #12 on: March 08, 2009, 11:23:55 PM »
Sorry i was thinking too fast as mk means make in linux.

Use mkfontscale and mkfontdir

Cheers

monoreille

  • Guest
Re: Japanese
« Reply #13 on: March 09, 2009, 08:06:17 AM »
Sorry i was thinking too fast as mk means make in linux.

Use mkfontscale and mkfontdir

Cheers
Sorry
Same message error
thx

EDIT:Really Wick,if i'm aloner with this problem,don't lost your time with me,because after i will use the new RC 2.1 ,and i could use the system from Takeru-san,so thx a lot for your help

cheers

cheers
« Last Edit: March 09, 2009, 09:16:02 AM by monoreille »