Bug 101159 - San Franciso TrueType fonts from macOS 10.12 cause lag
Summary: San Franciso TrueType fonts from macOS 10.12 cause lag
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: fc-cache (show other bugs)
Version: 2.12
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 23:44 UTC by Devin Cofer
Modified: 2017-06-05 02:14 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
macOS San Francisco TTFs (deleted)
2017-05-23 23:44 UTC, Devin Cofer
Details

Description Devin Cofer 2017-05-23 23:44:34 UTC
Created attachment 131456 [details]
macOS San Francisco TTFs

I have a licensed macOS 10.12 installation on another computer.

Copying the fonts to Linux and using them there has worked fine, save three of the newer TrueTypes offered - SFNSDisplay.ttf, SFNSTextItalic.ttf, and SFNSText.ttf.

Each of these, when added to a font folder and cached, cause the launch of simple desktop applications to go from instantaneous, to just under a second of lag.

Also noteworthy is that fc-cache -v, once these fonts are installed, seems to find a corrupt cache file on every run, and it is there that the stall happens.

This is using fontconfig-2.12.1 on a fully updated Arch system.

If it is unacceptable to host this attachment, let me know and I will take it down (and upload elsewhere, if permitted).
Comment 1 Behdad Esfahbod 2017-05-24 06:57:55 UTC
Yes, it's not ok to upload them here (or anywhere).  Please remove.
Comment 2 Behdad Esfahbod 2017-05-24 07:07:04 UTC
There seems to be at least one bugfix to FcCacheOffsetsValid() in master since 2.12.1 and that's definitely what's causing the cache failure.

Akira, any plans for a new release?
Comment 3 Devin Cofer 2017-05-24 10:57:27 UTC
Very well. I don't see a facility to remove the attachment, though.
Comment 4 Alan Coopersmith 2017-05-24 15:14:05 UTC
The content of attachment 131456 [details] has been deleted for the following reason:

legal concerns
Comment 5 Akira TAGOH 2017-05-31 11:30:28 UTC
released 2.12.3. please try again.
Comment 6 Devin Cofer 2017-06-05 02:14:52 UTC
Confirmed fixed as of 2.12.3.

Thank you.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.