LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2003, 03:57 PM   #1
hunter_one
Member
 
Registered: Jun 2003
Distribution: mdk 9.1 , gentoo
Posts: 101

Rep: Reputation: 15
how-to install chinese fonts


i have installed twmoefonts using portage (i use gentoo) & added fonts directory to
etc/X11/XF86Config

then i restart X server...

and nothing changes...

i want use them in mozilla... but it's dont working (
i open site withc chinese "signs" on it and i dont see them...

what to do to install and use those or other fonts...?

pls help me...
 
Old 11-19-2003, 10:22 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You need to change the font setting for the language encoding in Mozilla, somewhere in the preference you can change it.
 
Old 11-20-2003, 09:22 AM   #3
hunter_one
Member
 
Registered: Jun 2003
Distribution: mdk 9.1 , gentoo
Posts: 101

Original Poster
Rep: Reputation: 15
i got problem...

i copyt my fonts to: cd /usr/X11R6/lib/X11/fonts/TTF


root@localhost / # cd /usr/X11R6/lib/X11/fonts/TTF
root@localhost TTF # ls
encodings.dir fonts.scale luximr.ttf luxirr.ttf luxisr.ttf
ffangsong.ttf jfangsong.ttf luximri.ttf luxirri.ttf luxisri.ttf
fonts.cache-1 luximb.ttf luxirb.ttf luxisb.ttf mssong.ttf
fonts.dir luximbi.ttf luxirbi.ttf luxisbi.ttf


as you see there are some ttf fonts...
but i cant use any of them in my system!!!

here is a part of my XF86Config file:


FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/share/fonts/ttf/zh_TW/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"

what to do to make them work ? ? ? ?
 
Old 11-20-2003, 10:42 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try mkfontdir in /usr/X11R6/lib/X11/fonts/TTF then restart X
 
Old 11-20-2003, 10:54 AM   #5
hunter_one
Member
 
Registered: Jun 2003
Distribution: mdk 9.1 , gentoo
Posts: 101

Original Poster
Rep: Reputation: 15
now i got second problem... every program see my new chinese fonts but mozilla see only standard fonts...

(Mozilla >> Edit >> Preferences... >> Apearance >> Fonts )

in list of fonts there i have only standard old fonts... (oder aplications can normal use my chinese fonts)

 
Old 11-20-2003, 11:19 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
make sure mozilla is compiled with xft support (it is by default though)
 
Old 02-24-2005, 04:22 PM   #7
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Rep: Reputation: 15
run fc-cache as root after adding new fonts.

if the system complains there is no fc-cache, do whereis fc-cache. then run that command.
 
  


Reply



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
installing chinese fonts linuxmandrake Fedora 2 08-06-2005 04:12 PM
chinese fonts and input problem nived Linux - Software 3 09-13-2004 07:44 AM
K12LTSP (FC1) trying to install Chinese Fonts hindenbergbaby Linux - Newbie 0 08-22-2004 07:58 AM
install chinese fonts on mozilla irvken Linux - Software 7 06-06-2004 05:35 PM
Chinese Pinyin Fonts Maurice Arthur Linux - Software 0 02-01-2002 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration