I recently upgraded from Kubuntu 16.10 → 17.04. After the upgrade, the Courier 10 Pitch
font now appears to be "missing".
How can I recover/reinstall the Courier 10 Pitch
font and/or force LibreOffice Writer to see it?
The font is, supposedly, included in the xfonts-scalable
package, but removing/purging and reinstalling this package makes no difference. It was definitely showing up under 16.10, too.
NOTE: apt-cache show xfonts-scalable
does not list included fonts by name, so I couldn't confirm it's really there; I had simply read that it's supposed to be there elsewhere.
Interestingly, the fc-list
command appears to claim the font is available:
fc-list "Courier 10 Pitch"
/usr/share/fonts/X11/Type1/c0419bt_.pfb: Courier 10 Pitch:style=Regular
/usr/share/fonts/X11/Type1/c0611bt_.pfb: Courier 10 Pitch:style=Bold Italic
/usr/share/fonts/X11/Type1/c0582bt_.pfb: Courier 10 Pitch:style=Italic
/usr/share/fonts/X11/Type1/c0583bt_.pfb: Courier 10 Pitch:style=Bold
However, LibreOffice Writer still shows the font as "not installed". (See pic. at bottom.)
The apt-cache show ttf-mscorefonts-installer
command lists Courier New (Bold, Italic, Bold Italic)
as being part of it, so I also tried removing/purging that package and re-installing, which works fine (see partial output below). However, that seems to only contain the Courier New
version of it and does not include Courier 10 Pitch
.
Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/courie32.exe
extracting cour.ttf
extracting courbd.ttf
extracting courbi.ttf
extracting fontinst.inf
extracting couri.ttf
extracting fontinst.exe
All done, no errors.
I've tried the sudo fc-cache -fv
command to see if it's a caching issue, but it made no difference.
Contents under /usr/share/fonts/
only show the Courier New
font as being present, not Courier 10 Pitch
. Other than the font and sym-links pointing back to them (see below), there're no additional matches for 'Courier'.
lrwxrwxrwx 1 root root 20 May 11 21:21 courbd.ttf -> Courier_New_Bold.ttf
lrwxrwxrwx 1 root root 27 May 11 21:21 courbi.ttf -> Courier_New_Bold_Italic.ttf
-rw-r--r-- 1 root root 230K May 11 2000 Courier_New_Bold_Italic.ttf
-rw-r--r-- 1 root root 305K May 11 2000 Courier_New_Bold.ttf
-rw-r--r-- 1 root root 239K May 11 2000 Courier_New_Italic.ttf
-rw-r--r-- 1 root root 296K May 11 2000 Courier_New.ttf
lrwxrwxrwx 1 root root 22 May 11 21:21 couri.ttf -> Courier_New_Italic.ttf
lrwxrwxrwx 1 root root 15 May 11 21:21 cour.ttf -> Courier_New.ttf
If it makes a difference, the /usr/local/share/fonts/
directory is empty.
Note the font not being listed under Family and the "font has not been installed" message below the Language drop down menu label.