LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2004, 10:13 AM   #1
Danodare
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 41

Rep: Reputation: 15
Japanese display, fonts.


Fresh install of slackware 9.1. I installed the i18n. Mozilla displays hex boxes instead of japanese characters. Searching here told me it is a font problem and that I need to install japanese fonts. But all the posts I found were at least six months old and were about other distros or slackware 9.

So, is there a "clean" way of displaying japanese fonts in slackware 9.1 ? Downloading fonts from Microsoft and putting them in linux seems unnatural. Also, japanese display worked perfectly by default in mandrake 8.2 (my previous distro), so it seems a bit odd that slack wouldn't have something equivalent.

Thanks in advance,
-Danodare
 
Old 02-28-2004, 03:36 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
have you checked the font settings in mozilla? sometimes, it is not set to display with the right font set. Also, make sure mozilla is detecting the right encoding (under View).

I'm pretty sure Slackware comes with some Japanese fonts, but I think now there are no freely available Japanese fonts b/c of copyright issues. the ones that used to come with distros are no longer available. Besides, the MS ones do look a lot better.
 
Old 02-28-2004, 04:25 PM   #3
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
No free Japanese fonts?

http://mplus-fonts.sourceforge.jp/
http://sourceforge.net/projects/monafont/
http://mikachan-font.com/index2.html (in Japanese)
http://www.mars.sphere.ne.jp/imamura/jisx0213.html (also in Japanese)
 
Old 02-28-2004, 04:47 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
sorry, I was thinking of ttf fonts (and ones that include the whole kanji set, not just the phonetic characters). mnikachan's is the only one I know of and it's too cute for daily use...
 
Old 02-28-2004, 06:26 PM   #5
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
i used to have the same problem with jpn, ch and kor characters, i only need chinese, but i hate seeing the boxes appeared on my web pages, so i wanna fix them all.

What i did is to copy from my WinXP fonts, eg batang, mingliu, etc to /usr/share/fonts(create yourself) and then reboot for fc-cache to update them(could be a more elegant way than a windowish reboot, but it get my problem solved...). Relaunch your Mozilla and you will see them all there. BTW, Netscape has no problem with these. It can show all Jpn, CHinse, Korean at default. But IMO, they looked aweful, so getting from MS is the best way out for me. Try it.

PS:no need to adjust any fonts setting/choice within Mozilla.
 
Old 02-29-2004, 04:18 AM   #6
Danodare
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 15
For some reason it did not occur to me to try netscape. Indeed it worked under Netscape, by default. The font Netscape uses is jisx0213. It's not pretty, but it's readable .

Copyright reasons explains why mandrake 8 had it but but not slackware.

Several options for me now, I'll first have a look at the links you posted, then I'll check windows 2000 pro(I don't own an xp yet). If I don't like any of the fonts there as a last resort I'll dust my mandrake machine and boot it one last time to copy the fonts from there .

Thanks a lot,
-Danodare
 
Old 02-29-2004, 07:56 AM   #7
Danodare
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 15
http://mplus-fonts.sourceforge.jp/
Not bad for 12 sized fonts, but a bit small.

http://sourceforge.net/projects/monafont/
Based on the shinonome fonts, see
http://openlab.jp/efont/shinonome/
Those are functional.

http://mikachan-font.com/index2.html
As one poster said, too cute for daily use

http://www.mars.sphere.ne.jp/imamura/jisx0213.html
Unless I'm mistaken, the one Netscape uses.

Mozilla under Windows uses msmincho and msgothic. I found in my windows 2000 /winnt/fonts directory,

msmincho.ttc
msgothic.ttc
mingliu.ttc

I just copy these files into "/usr/X11/lib/X11/fonts/TTF" and reboot ? The reason I ask is because this directory only contains .ttf files, not .ttc.

Thanks in advance,
-Danodare
 
Old 02-29-2004, 09:07 AM   #8
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
These are the fonts I have copied:

arial.ttf cour.ttf micross.ttf per_____.ttf verdana.ttf
batang.ttc gulim.ttc mingliu.ttc simsun.ttc

I have never used /usr/X11/lib/X11/fonts/TTF, I always dumped them in /usr/share/fonts, works everytime except this time, i just realized Traditional Chinese fonts are corrupted, the characters are only patially visible. Simplified Chinese is nice, so do Korean & Jpn. Not sure why now.
 
Old 02-29-2004, 11:47 AM   #9
Danodare
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 15
Actually, copying the files in "/usr/X11/lib/X11/fonts/TTF", logout from kde then startx and it worked, without even rebooting.

The fonts I used were not from my own windows, which is on another machine. It would have been troublesome to copy them to this machine. Rather than that, I preferred to just download them from this site :

http://www.kanjistep.com/en/misc/howto.html

Kde 3.1.4 automatically recognized the .ttc files and picked up all five fonts in each file, not just the first ones.

Anyway, now I need japanese input to work, going to cross fingers and try canna / kinput2

Wish me luck,
-Danodare
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Japanese characters. Lowe Debian 6 06-10-2005 07:58 PM
japanese fonts in x.org juanbobo Linux - Software 3 03-29-2005 11:06 PM
Japanese fonts under Slackware 9.1 OmegaTemplar Slackware 3 11-15-2003 08:10 AM
Installing Japanese Fonts on Slackware guardian653 Linux - Newbie 2 10-05-2003 11:46 PM
How do I get Japanese fonts working rtaft Linux - Software 2 08-18-2003 09:45 AM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration