Re: Font paths



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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • RE: windows fonts have all turned to symbols
    ... In google search, I entered, Microsoft fonts, was taken to Microsoft ... Missing Menu Command in the Fonts Folder> ...Microsoft Windows NT Server 4.0 ...
    (microsoft.public.windowsxp.general)
  • Re: [9.2.2] Any Mozilla 1.3.1 tweaks?
    ... Do only use the PDFviewer plugin. ... Plugins' folder directly inside your system folder and not in the WaMCom folder. ... If they are located in the system folder, WaMCom will only call them when needed, while they are all active, if they are located in the Mozilla -> Plugins folder. ... Again the Chancery fonts have some more accents and diacritics. ...
    (comp.sys.mac.apps)
  • Re: Help! All text in Windows XP is written in Symbols!
    ... Still nothing shows up in the Fonts folder on the C:drive. ... With the install CD in the drive, go to Start>Run and key in: ... Click on OK or hit ENTER ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Cannot delete fonts to reinstall
    ... I disabled Simple File Sharing and was able to display the Security tab on ... How to take ownership of a file or folder in Windows XP ... How do I get a security tab on the Fonts folder on the other ...
    (microsoft.public.windowsxp.general)
  • Re: 10.1.6 office crash under 10.4.6
    ... discussion list regarding Office v.X and crashes related to fonts. ... Be it Word, Excel, or PowerPoint, we can usually open the app ... log into our system as network users. ... the Applications folder, and reinstalling the folder from the original ...
    (microsoft.public.mac.office)