Opened 8 years ago
Closed 8 years ago
#52088 closed defect (fixed)
fc-list unacceptably slow in fontconfig 2.12.1
Reported by: | giles@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | mojca (Mojca Miklavec), rcobbe, ken@…, mf2k (Frank Schima), kickingvegas (Charles Choi), devernay (Frédéric Devernay), cjones051073 (Chris Jones) | |
Port: | fontconfig |
Description (last modified by mf2k (Frank Schima))
SUMMARY
fc-list takes 30 seconds on 2.12.1, almost instantaneous on 2.12.0. Causes font look ups when launching terminal etc to slow down to an unusable level.
REPRODUCE
Run
time fc-list Inconsolata with 2.12.1 installed:
/Users/grc/.fonts/Inconsolata.otf: Inconsolata:style=Medium fc-list Inconsolata 30.74s user 0.71s system 98% cpu 31.805 total
Identical command with 2.12.0 installed:
/Users/grc/.fonts/Inconsolata.otf: Inconsolata:style=Medium fc-list Inconsolata 0.01s user 0.01s system 65% cpu 0.020 total
Similar results for other fonts, or non-existent fonts.
Change History (18)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:6 Changed 8 years ago by ken@…
I was asked to document a similar problem a few of us have been seeing. Ports that depend on fontconfig take ~30s to start with the latest version. It may be the same root cause.
comment:7 Changed 8 years ago by kickingvegas (Charles Choi)
Seeing the same thing. Impacts usage of matplotlib in python and ImageMagick.
comment:9 follow-up: 11 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Does somebody have time to report this to the developers of fontconfig please?
comment:11 follow-up: 12 Changed 8 years ago by kickingvegas (Charles Choi)
Replying to ryandesign@…:
Does somebody have time to report this to the developers of fontconfig please?
Have posted to fontconfig mailing list.
https://lists.freedesktop.org/archives/fontconfig/2016-August/005810.html
comment:12 Changed 8 years ago by kickingvegas (Charles Choi)
Replying to charles.choi@…:
Replying to ryandesign@…:
Does somebody have time to report this to the developers of fontconfig please?
Have posted to fontconfig mailing list.
https://lists.freedesktop.org/archives/fontconfig/2016-August/005810.html
Got some feedback. https://lists.freedesktop.org/archives/fontconfig/2016-August/005811.html
comment:13 Changed 8 years ago by devernay (Frédéric Devernay)
upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=97546
homebrew bug: https://github.com/Homebrew/homebrew-core/issues/4172
comment:16 follow-up: 17 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Please check whether fontconfig @2.12.1_1 (r152719) has fixed this problem.
comment:17 Changed 8 years ago by giles@…
Replying to ryandesign@…:
Please check whether fontconfig @2.12.1_1 (r152719) has fixed this problem.
That fixes it for me: fc-list using 2.12.1_1 takes a similar time, near instantaneous, to 2.12.0_0
comment:18 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers fontconfig
), if any.