Font Installation Failed
When adding a new font using the Gnome Font Viewer, sometimes it shows an error message as "Failed to Install". This is a common bug that has been around for a while. Probably this is solved, worse case scenario the bug will be dismiss. I will detail what I do when it fails because I might have found kinda a solution for it:
-
Case 1: There seems to be a delay during the process to add a font. Once it shows the "Failed to Install" message, closing and opening again the Gnome Font Viewer and waiting for a couple of seconds, shows an "installed" message without even pressing the "Install button".
-
Case 2: Some fonts come with the same filename, which seems to cause conflict when trying to add a new font with the same filename as one that has been previously installed. In this case, changing the filename to the font name or something else does the trick and allows a smooth installation.
Notes:
If the filename is a bug, then it would be a nice idea to have the Gnome Font Viewer somehow check the filename and compare it with the font name specified at the font info. This could even show a warning message with a bit more info to the user asking him to manually change his filename. Other solution would be to take the font name from the info instead the filename itself.
I got to all of this while installing a client's custom made font. They sent me the .ttf's with the same filename, but each one was on a separate folder. The folders contained the font name instead of the current font files.
Hope this info is useful.
fc29.x86_64
Name : gnome-font-viewer
Version : 3.30.0
Release : 1.fc29
Architecture : x86_64
Source : gnome-font-viewer-3.30.0-1.fc29.src.rpm