3

I have downloaded some True Type Font (ttf) fonts and pasted them in the directory

/usr/share/fonts

after that I restarted LibreOffice writer but I don't find the new fonts in the font list. No better result after rebooting.

I copied the files to

usr/share/fonts/truetype

and again restarted LibreOffice writer, but still they aren't on the font list.

I've tried in another way. Opened the fonts with font viewer and click on the install but the result is the same.

Latest

I've just found that those specific fonts are installed on my system, they present on gedit's font list, but not in the LibreOffice font list. So, may be the problem is with LibreOffice.

Very surprising and irritating issue indeed.

Zanna
  • 72,312
tuxtu
  • 3,175
  • 9
  • 30
  • 44

3 Answers3

7

I've found a solution for this problem. To do that you have to paste the fonts in the directory

~/.local/share/fonts

It's important to mention here that, normally, you can't see the folders which started with a dot(.)(in ubuntu folders started with . are hidden folders). To see these folders press ctrl+h or click view > show hidden files.

Now if you don't have a folder named fonts in ~/.local/share/, then create one and paste your desired fonts in that folder.

This solution worked for me; hope it can help others.

Pixdigit
  • 165
tuxtu
  • 3,175
  • 9
  • 30
  • 44
6

I believe you should open /usr/share/fonts/truetype, then create a new folder in there, then place your fonts in that folder, and then run this in the terminal:

$ sudo fc-cache -f -v

After this is done, it is best to log out and back in to your account.

Solution source: Ubuntu Wiki - Fonts: #Manual.

On that page, you can also find explained other useful methods for installing fonts in Ubuntu both manually and automatically.

4

LibreOffice (at least 3.6 and 4.1) require the font's .pfb and .afm files to be present. If you don't have both, LibreOffice will not display the font in the font list. This is different to most other programs that are happy with only the .pfb. This requirement is verified by one of the LibreOffice developers in this LibreOffice Bugzilla bug comment.