Created attachment 139909 [details]
marked font list
Yesterday morning (13.02.2018) I got the 5.4.3 to `188.8.131.52; Build ID: 1:5.4.4-0ubuntu5` upgrade on my Ubuntu machine.
With this upgrade many locally installed fonts (in `~/user/.local/share/fonts/*`) have disappeared from LibO use (Writer is my main app, but also Calc).
I cannot work out why, since they are properly installed on my system, and usable by other applications. I have scoured (as best I can) the current bugs, and although #103514 #104538 and #115441 caught my eye, my situation is not matched by any of those.
It wasn't until I manually noted the list of no-longer-visible/usable fonts that I found a pattern:
- *.OTF fonts are found
- *.TTF fonts are not found
(This is NOT affected by the "Type1" decision, of course.)
The *.TTF fonts include things like Charis SIL, Gentium Plus, SBL Greek and SBL Hebrew, and many other my "workhorse" fonts (including the "Cleartype" family = Cambria, Calibri, Constantia, etc.).
To make things even more odd (to me!) the fonts installed in `/usr/share/fonts/truetype/msttcorefonts/*.ttf` ARE being used by LibO Writer. So it's strange that *some* TTF fonts are used, but those "locally" installed are not.
I attach: (1) a text file with my locally installed fonts listed, with those marked which fail to appear in LibO's font dialog; and will also add (2) a screen shot to demonstrate this situation with one font (representing all the others), SIL's Andika New Basic.
Created attachment 139910 [details]
screen shot to illustrate problem
After posting that bug report, it occurred to me to move my locally installed *.TTF fonts into the system-wide `/usr/share/fonts/truetype/` location.
I did. They work.
So perhaps that at least narrows the problem: the issue is specifically:
+ LOCALLY (per user) installed;
+ TTF fonts only (OTF are fine).
That's a help, but it still seems like a bug to me.
Cannot reproduce with Version: 184.108.40.206
Build ID: 1:6.0.1~rc1-0ubuntu0.16.04.1~lo1
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2;
Locale: en-US (en_US.UTF-8); Calc: group
I can confirm that I am also experiencing this bug after update supplied by Ubuntu repositories from 5.4.2-0ubuntu0.17.10.1 to 5.4.5-0ubuntu0.17.10.1.
All ttf, but not otf, fonts in my local (~/....) area disappeared from LibreOffice. They remain available in FontManager, GIMP, Inkscape etc. and show up with fc-list.
The workaround described by David in comment 2 works for me. Additionally, I tried softlinking from /usr/shared/fonts/truetype/ to the relevant folders in my home area. This did not work. Nor did softlinking but changing the ownership of the files to root. It was necessary to actually "sudo cp" the files into sub-directories of /usr/shared/fonts/truetype/.
I am using Font Manager to control which of many fonts are made available to applications. The "reject" and "directories" lists in ~/.config/fontconfig/conf.d/ generated by Font Manager continue to be followed but truetype fonts ONLY occurring in folders below my ~/. folder are missing in LibreOffice.
*** Bug 116038 has been marked as a duplicate of this bug. ***
I have a gut feeling that this relates to recent multiple Ubuntu package-specific problems. If my guess is right, then TDF-supplied LibreOffice of the same version (or some portable flavors) would not have this problem.
Mike is on point, this is an Ubuntu-specific issue, I could reproduce it with bundled LO 220.127.116.11 / Ubuntu 17.10, but not with TDF's LO 18.104.22.168 or 22.214.171.124 (or with any bibisect repositories).
Please see how to report bugs specific to Ubuntu's LibreOffice here:
Same with TDF's LO 126.96.36.199, btw.
It might be worth looking around the LO packages installed/missing, maybe an important package isn't set as dependency.
Also, if you open/find a bug report downstream, please add it to the See Also field here. Thanks!
Same here with LO Build-ID 1:5.4.5-0ubuntu0.17.10.1
My workaround was to copy all True Type fonts from ~/.local/share/fonts/ to ~/.fonts/
Although deprecated, this folder is still being recognized by LibreOffice.