Installing Fonts?

Hi all!

I have a fresh install of Tumbleweed KDE with updates of 2016-10-13.

As usual, I click on the file ‘SourceCodePro-Regular.otf’ in order to install that font.

The font is shown, but the button ‘Install…’ is greyed out.

How do I get it installed then?

Or to be more precise:

I was able to install one single font that way.

But that was the first and last one.

Afterwards that doesn’t work anymore, even if I start a Dolphin session as root.

Anyone any idea?

there are several ways to install fonts in opensuse
imo the simplest is coping them in the appropriate folders
for a user install that’s to copy fonts in ~/.fonts/ (or $HOME/.fonts that is /home/<you>/.fonts) root password is not needed
for a system install copy fonts in /usr/share/fonts this needs a root password
you can use the plasma 5 configure app to install fonts, I think (I’m not sure) you can use yast to install fonts

be careful with some microsoft fonts especially fonts from windows 8+ as they have bad gliphs and can break your system (search for font help you’ll find a few 13.x posts about windows fonts installed as system fonts messing up systems)
my recommendation is to only install fonts you use and do local install in ~/.fonts dir

I’m not sure what you did with dolphin it could be a background service that got staled or a bad font (see above), just manually copy fonts to the font dirs

Hi I_A,
many thanks for your reply.

The fonts I would like to install are free fonts from www.fontsquirrel.com (Source Code Pro, Source Sans Pro, Source Serif Pro, Andika Basic) and mozilla.org (fira sans).

They installed (in just the way I now tried again) and worked without any problem under oS (openSUSE) 13.1 and oS 13.2.

Your hint that some windows fonts may break the system is very helpful, because I already considered using such fonts but didn’t do that yet.

In general I prefer to have a system-wide installation of fonts.

But is it enough to just copy the fonts to the specific directories?
I have something in the back of my mind that under oS one would have to run fontconfig (?) afterwards.

I’ll try and report back.

Mike

Practically solved.

The point with the fonts Source Code Pro, Source Sans Pro, and Source Serif Pro was that under Tumbleweed they are already installed in /usr/share/fonts/truetype/ .
I wasn’t aware of that, because under oS 13.1 and oS 13.2 that wasn’t the case.
So that was the reason that the button ‘Install…’ was greyed out when these fonts were displayed after clicking on the respective font file.

On the other hand, I get a bit of a nasty behaviour after trying to install e.g. Andika Basic:
After clicking ‘Install…’, then ‘System’, then entering root PWD, I get a small window titled
‘Installing - Font Installer’
with the message
‘Updating font configuration. Please wait …’
which never closes and can’t be closed, despite the fact that a progress of 100% is indicated.
But that one goes away if I close the respective mother process, i.e. the window in which the font is displayed.
So OK.

Besides Andika Basic - in this (usual) way - is installed in /usr/local/share/fonts/a/,
the different files of Fira Sans are then installed in /usr/local/share/fonts/f/ .

Many thanks
Mike

Six months on and I’ve just been caught by the same problem … Font install window did not close, So I killed it ( fontinst! rather than kfontview ) then tried again, and wondering why no install button, but of cause it has installed.
So where should this particular bug be reported to get it fixed?

https://en.opensuse.org/Bugzilla

It’s a well known problem and there are quite a few bug reports about it already.

Install the fonts separately as a work-around, or install them as “Personal” fonts instead of “System”-wide.

OTOH, you don’t really need to “install” fonts at all. Just copy them to ~/.local/share/fonts/ (for the user) or /usr/local/share/fonts/ (system-wide).
That’s what the font-installer does as well.