Re: Adding fonts to Feisty



On 06/15/2007 03:25 PM, Ed Smits wrote:
I'm trying to add some fonts, have tried both methods found by
googling:

1) Copy the fonts to the fonts folder /usr/share/fonts/truetype/ and
run 'sudo dpkg-reconfigure fontconfig'.

2) put them in ~/.fonts and run fc-cache

I now have the fonts in 3 places - /root/.fonts,
/usr/share/fonts/truetype/ as well as my own ~.fonts, have run both
fontconfig as well as fc-cache (this as both sudo as well as me),
still can't see the fonts in the Fonts folder, but they are now
available in a Fonts dropdown box, however what is the correct way to
do this for a system wide use?


ED

sudo fc-cache -f -v

$ fc-cache --help
usage: fc-cache [-frsvV?] [--force|--really-force] [--system-only]
[--verbose] [--version] [--help] [dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).

-f, --force scan directories with apparently valid caches
-r, --really-force erase all existing caches, then rescan
-s, --system-only scan system-wide directories only
-v, --verbose display status information while busy
-V, --version display font config version and exit
-?, --help display this help and exit

Can you see the fonts in Nautilus?
[Go|Location then enter fonts:/// into the location bar]

You might find these links helpful:
https://help.ubuntu.com/community/FontInstallHowto

You may have to log out and log back in to see the fonts, but in most
cases you shouldn't have to do this. Generally just doing an 'F5' in
Nautilus will refresh the listings.





--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: How to solve "No fonts found;" error??
    ... this probably means that the fontconfig ... edit the fonts.conf configuration file. ... fc-cache: succeeded ... You have no fonts. ...
    (comp.os.linux.misc)
  • Re: Install Fonts
    ... I copied these fonts to ... Make sure that line is somewhere in between the opening <fontconfig> ... No need to restart at all. ... Run `fc-cache -v` (rebuilds ...
    (Ubuntu)
  • Re: Brioso fonts
    ... the fontcache utility (fc-cache) scans the directories ... for fonts, you need not edit the file fonts.conf. ... I'm quite nicely surprised to see that xetex uses fontconfig. ...
    (comp.text.tex)
  • Re: Gnome 2.14 seems sluggish to me ...
    ... I can't find any documentation. ... Fontconfig handles all the fonts. ...
    (GNOME)
  • Re: [SLE] Newbie Q: how to switch off KDE and start Gnome?
    ... I am not so certain it is fc-cache but it is ... some program having to do with fonts. ... >Unfortunately after starting Gnome session I get some icons on desktop, ... >apps and libs are installed, including all develeopment versions, fonts as ...
    (SuSE)