LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-08-2005, 07:42 AM   #1
J_dash
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core, Debian
Posts: 3

Rep: Reputation: 0
/etc/fonts/local.conf


Hi,

Does anyone know how to get the /etc/fonts/local.conf? I read some of the posts said if I update the font.conf, the local.conf will be created, is that true?

J_dash
 
Old 10-08-2005, 08:45 AM   #2
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 441

Rep: Reputation: 141Reputation: 141
Re: /etc/fonts/local.conf

Quote:
Originally posted by J_dash
Hi,

Does anyone know how to get the /etc/fonts/local.conf? I read some of the posts said if I update the font.conf, the local.conf will be created, is that true?

J_dash
Quote from /etc/fonts/fonts.conf

Code:
<!--
        DO NOT EDIT THIS FILE.
        IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
        LOCAL CHANGES BELONG IN 'local.conf'.
What it says is that if you change fonts.conf when you update fontconfig (with apt-get,yum,yast,whatever) it will be replaced
and your changes will get lost.

I don't know if fedora ships with a empty (or sample) local.conf but you can write your own.

Open your favourite editor and write what you want on local.conf

I give you a sample local.conf which contains only basic stuff (more directories with fonts)

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <dir>/usr/X11R6/lib/X11/fonts/hellenic/TTF</dir>
 <dir>/usr/X11R6/lib/X11/fonts/hellenic/Type1</dir>
 <dir>/usr/local/share/fonts</dir>
</fontconfig>
You can do many things like font matching but i just include the basic form (it has the same form as fonts.conf)

I don't know what you want to do, but if you just want to add fonts you can write local.conf and then run "fc-cache"
 
  


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
X11 conf and fonts questions neilcpp Slackware 3 11-07-2005 02:13 PM
Problems with monitor & unreadably small fonts / xorg.conf with SuSE 9.3 Pro mrbadi SUSE / openSUSE 3 07-15-2005 11:00 AM
vsftp.conf slackware -- local user login Pozican Linux - Software 3 05-08-2005 11:03 AM
Question about fonts.conf configuration ICO Linux - General 5 01-12-2004 08:32 PM
Error: /etc/fonts/fonts.conf file? BearClaw Slackware 2 09-10-2003 03:44 PM

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

All times are GMT -5. The time now is 08:41 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