How to locate a font in Ubuntu?

Ubuntu desktop with 12.04 is about to crash. Installed 13.04 on a new machine, want to transfer Book Antiqua font from old machine to the new one. How do I find it on the old machine? My /usr directory is empty.

My fonts.conf file has these lines:

<!-- Font directory list -->
<dir>/usr/share/fonts</dir>
<dir>/usr/x11R6/lib/X11/fonts</dir>
<dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>

Don't know what this means, but my /usr directory has nothing in it.

4 Answers

I use fc-list command to view the list of fonts installed.

4

Secret Locations:

The secret locations of your fonts whereabouts are defined in /etc/fonts/fonts.conf.

gedit /etc/fonts/fonts.conf

Standard Locations:

/usr/share/fonts
/usr/local/share/fonts
/home/<username>/.fonts #where <username> is your user name

Note that the .fonts folder is a hidden folder.

Source: Where Are Fonts Stored / Located In Ubuntu?

2

I've found that fonts can be installed for Precise (12.04) and Trusty (14.04) in

~/.local/share/fonts
3

To know where are fonts, ask Ubuntu in a terminal:

 whereis fonts

Sample reply:

 fonts: /etc/fonts /usr/share/fonts

The first path has the fonts.conf file which specifies font settings and other locations. The second one is what you are looking for as the default fonts system directory.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like