Opened 8 years ago

Last modified 8 years ago

#52088 closed defect

fc-list unacceptably slow in fontconfig 2.12.1 — at Version 2

Reported by: giles@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
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 (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers fontconfig), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.