LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install chinese fonts on mozilla (https://www.linuxquestions.org/questions/linux-software-2/install-chinese-fonts-on-mozilla-184380/)

irvken 05-22-2004 01:59 AM

install chinese fonts on mozilla
 
http://irvken.homelinux.net/wikipediasnapshot.png

does anyone know how to install chinese fonts in mozilla, instead of the annoying boxes in the snapshot above

sylvain_gnu 05-22-2004 06:29 AM

Also japanese...
 
Hi irvken,

These are not only Chinese fonts, but also Japanese for instance, and korean as well.
For instance, just next to the word "Français" on the web page you indicated, this is Japanese fonts.
On my config these fonts display fine because I have the following fonts installed:
Mikachan, Mikachan-P, Mikachan-PB, Mikachan-PS.

N.B: I can see these fonts using (mozilla-)FireFox which I guess is not much different from Mozilla as far as the fonts are concerned. I can see them in the fonts directory from the Gnome-panel->Preferences->Fonts->...

% apt-cache search mikachan
ttf-mikachan - handwritten Japanese Truetype font

If I remember correct, I simply installed these fonts the Debian way, using:
# apt-get install ttf-mikachan

So, if I were you, to install some chinese fonts, I would start with:
% apt-cache search chin | grep font

Hope this will work for you as well.
Good luck! ;)

Sylvain.

sylvain_gnu 05-22-2004 07:46 AM

Well, I gave it a try.

After
% apt-cache search font | grep hin
and then
# apt-get install <packages I picked up in the list returned by the previous command>
(apt-cache and apt-get are commands to install stuff for Debian users)

I can see Korean fonts all right on the web page you indicated, as well as Taiwanese Chinese, but I can not see the plain Chinese correctly :confused: Well, never mind, for me Japanese if fine.

I hope you'll be luckier than me this time since you want Chinese actually.
Cheers,

irvken 05-22-2004 03:11 PM

http://irvken.homelinux.net/wikipediasnapshot.png

new and improved picture

sylvain_gnu 05-22-2004 03:42 PM

Hi again,

According to the image you provided, the result is bad on your config... :(
Maybe a dpkg-reconfigure is needed or something if you actually installed some new fonts.

Personnaly, with all the fonts I have installed up to now (as I described in the post above) I can see 50% of the chinese characters of this web page.

I checked in Mozilla->Edit->Preferences->...->Fonts-->Fonts for encoding
and I see only one font (proportional: Serif) in the list for Chinese or Chinese Traditional (Taiwan) or Chinese Traditional (Hong-Kong).

You're using Debian, yes?
I think the best to find a quick solution to your problem is to subscribe to one of the Debian mailling lists:
< http://lists.debian.org/users.html >
There are lists dealing with Debian and Chinese:
debian-chinese-gb, debian-chinese-big5.

Tell us when you've got a solution.
Good luck!
Sylvain.

atheist 06-06-2004 12:38 AM

Hi. I've been having the same trouble. Although, regarding japanese fonts. I did as you said, sylvain_gnu and installed the mika fonts via apt. Didn't change a thing for me. Do you think some kinda of dpkg -reconfigure is in order? dpkg -reconfigure what then? I've tried dpkg -reconfigure locales to enable japanese. Anything else you think I could do?
Here is a screenshot of www.google.jp as I'm seeing it.

irvken, your problem seems quite odd to me since the title of the website in your browsers window decorations display chinese fonts.

atheist 06-06-2004 12:51 AM

Never mind that. It turns out I had to reboot after "dpkg-reconfigure locales". Thanks anyway.

JDW 06-06-2004 05:35 PM

install chinese fonts on mozilla
 
Hi,

Make sure you have a) some good Chinese fonts installed (look for ttf-arphic-*in the Debian stable package list - XWindows section), b? Chinese locale files installed and c) the KDE i18n files for Chinese installed as well...

If these are there, then mozilla/any browser should be able to access them at need.

Quote:

irvken, your problem seems quite odd to me since the title of the website in your browsers window decorations display chinese fonts.
The title of the website in this case is actually a gif image or sth. like that, whereas the rest is plain text requiring the Chinese fonts to display correctly...

Also, if you check the mozilla Settings, you can tell it to view a particular webpage with specific encodings, e.g. Chinese Simplified...this helps when the browser doesn't automatically pick up the encoding...

cheers,

jdw


All times are GMT -5. The time now is 02:39 AM.