Bug 115723 - Writer 5.4.4.2 no longer recognizes TTF fonts installed locally on system
Summary: Writer 5.4.4.2 no longer recognizes TTF fonts installed locally on system
Status: VERIFIED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 116038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-14 16:28 UTC by David
Modified: 2018-02-27 15:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
marked font list (7.94 KB, text/plain)
2018-02-14 16:28 UTC, David
Details
screen shot to illustrate problem (86.41 KB, image/png)
2018-02-14 16:29 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-02-14 16:28:54 UTC
Created attachment 139909 [details]
marked font list

Yesterday morning (13.02.2018) I got the 5.4.3 to `5.4.4.2; 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.
Comment 1 David 2018-02-14 16:29:44 UTC
Created attachment 139910 [details]
screen shot to illustrate problem
Comment 2 David 2018-02-14 16:43:26 UTC
WORKAROUND:

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.
Comment 3 Mike Kaganski 2018-02-15 06:35:58 UTC
Cannot reproduce with Version: 6.0.1.1
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
Comment 4 JohnM 2018-02-24 10:29:24 UTC
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.
Comment 5 Mike Kaganski 2018-02-26 16:28:06 UTC
*** Bug 116038 has been marked as a duplicate of this bug. ***
Comment 6 Mike Kaganski 2018-02-26 16:43:35 UTC
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.
Comment 7 Aron Budea 2018-02-26 23:17:55 UTC
Mike is on point, this is an Ubuntu-specific issue, I could reproduce it with bundled LO 5.4.5.1 / Ubuntu 17.10, but not with TDF's LO 6.0.1.1 or 5.4.4.2 (or with any bibisect repositories).

Please see how to report bugs specific to Ubuntu's LibreOffice here:
https://wiki.ubuntu.com/LibreOfficeBugWrangling
Comment 8 Aron Budea 2018-02-26 23:32:37 UTC
Same with TDF's LO 5.4.5.1, 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!
Comment 9 Martin Vogel 2018-02-27 15:20:46 UTC
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.