Bug 382193 - Allow reinstallation of fonts from command line
Summary: Allow reinstallation of fonts from command line
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: 5.8.6
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-10 10:41 UTC by Tristan Miller
Modified: 2017-07-10 10:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2017-07-10 10:41:40 UTC
The kfontinst command-line tool does not allow a font to be reinstalled from the command line.  This functionality is important because many fonts are under active development, with new versions being released on occasion.  (Also because there exist bugs with the font management application in systemsettings, such as Bug 361960, that prevents fonts from being installed or removed that way.)

Steps to reproduce:
1. Install a font (say, foo.ttf) using any method desired.
2. Attempt to install a font with the same filename using kfontinst:
$ kdesu kfontinst foo.ttf

Observed results:
3. The following error dialog appears:

> Installing — Font Installer
> 
> Error
> 
> /usr/local/share/fonts/f/foo.ttf already exists.
> 
> [ Cancel ]

Expected results:
3. A warning dialog should appear that informs me that the font already exists and asks me whether I want to replace it.  (It would also be helpful if the warning dialog could be bypassed by using a command-line parameter such as --force.)