Font paths

Anne Wilson cannewilson at tiscali.co.uk
Thu Nov 30 13:48:58 UTC 2006


On Thursday 30 November 2006 13:11, François Patte wrote:
> 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.
>
I tried this method, Francois, and the new fonts were available to kword.  
However, they are not available to openoffice.  I don't know why it should be 
so, but perhaps that's why they advocate their particular method.

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061130/bed6aa8e/attachment-0001.sig>


More information about the fedora-list mailing list