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"