Re: Font paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anne Wilson a écrit :
Following the instructions in http://wiki.services.openoffice.org/wiki/Font-FAQ I am trying to add fonts to be globally available. I have created a folder and put my new fonts there. It then says I should create a text file called /usr/share/X11/fonts/local.conf, with the new folder added in the format

<dir> /usr/share/X11/fonts/NewFonts </dir>

However, when I run 'fc-cache /usr/share/X11/fonts/NewFonts' I get the error

Fontconfig error: "local.conf", line 2: junk after document element

I don't understand why they describe such a complicated method! I just add directories in:
/usr/share/fonts/default/

then went into these directories and perform successively:

ttmkfdir (if fonts are true type)
mkfontdir
fc-cache

then run chkfontpath --add $PWD

And that's all.

--
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux