Some Fonts don't appear in LibreOffice

8,302

Solution 1

That's weird. I just tried with the same font (mingliu.ttc) and it worked fine in LibreOffice on Ubuntu 10.10.

There might be a problem with your font cache.

Try running sudo fc-cache -f -v. This will rebuild the cache.

Solution 2

I had similar font problems with LibreOffice Version 4.4.2.2 and lubuntu 15.04. I checked the permission of the font files in /usr/share/fonts/ folder, changed the permission from 600 to 744, and used the terminal command "sudo fc-cache -fv". It solved my problems, therefore, ownership of the font can be a cause of the problem.

Share:
8,302

Related videos on Youtube

user13030
Author by

user13030

Updated on September 18, 2022

Comments

  • user13030
    user13030 over 1 year

    I installed some fonts (mingliu.ttc) by putting them in ~/.fonts/

    The font is visible in other applications (such as Abiword & Firefox).

    But it does not appear in the font menu of LibreOffice. When I type the font name manually, the characters display as squares.

    How can I install the font for LibreOffice?

  • user13030
    user13030 about 13 years
    I deleted ~/.fontconfig manually and run fc-cache again.It works now.
  • Marten Koetsier
    Marten Koetsier over 7 years
    This worked for me as well in lubuntu 16.04 and LibreOffice 5.1.4.2. My installed fonts in /usr/local/share/fonts/ had user root:staff and permission 600. Now, with permission 622 the fonts are recognized by LibreOffice, even without re-running sudo fc-cache -fv.
  • Lorenzo Ancora
    Lorenzo Ancora about 6 years
    If you use the "Quick Start" feature (the LibreOffice's tray icon), you should exit from there (right click on the icon -> Terminate QuickStart) after closing all open documents, and then rebuild the cache, otherwise LibreOffice won't update its internal cache and you won't see the new fonts.