LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2006, 12:39 AM   #1
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
order of fontdir


I would like to know what's the priority under which fonts are loaded. I want to know because in firefox, I set font for "Western" to be DejaVuSans, which doesn't have CJK converage. So when I visit a webpage in UTF-8 that contains CJK character, firefox uses a font called aqua , which I don't really like to use in this occasion. I have some nice font I use for CJK in /usr/local/share/fonts. How do I make firefox (or X in general) to use them when it tries to display certain page with characters not covered by default font?

In /etc/fonts/fonts.conf:

Code:
        <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
        <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
        <dir>/usr/X11R6/lib/X11/fonts/arphicfonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/baekmuk-fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/cjkuni-fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/corefonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/dejavu</dir>
        <dir>/usr/X11R6/lib/X11/fonts/freefont</dir>
        <dir>/usr/X11R6/lib/X11/fonts/kochi-substitute</dir>
        <dir>/usr/X11R6/lib/X11/fonts/sharefonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts/ttf-bitstream-vera</dir>
        <dir>/usr/local/share/fonts</dir>
        <dir>/usr/share/fonts</dir> <!-- aquafont should be somewhere in here: /use/share/fonts/aquafont-->
        <dir>~/.fonts</dir>
 
  


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
Order your copy now! ctt1wbw Ubuntu 2 01-10-2006 07:33 AM
Bootloader order prh Ubuntu 1 09-16-2005 01:23 AM
What order and how do I ..... adds2one Slackware 4 08-31-2005 11:53 PM
ascending order huno Programming 4 07-22-2005 07:03 PM
which to order? i m gr8 Linux - Newbie 6 04-17-2004 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:17 AM.

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