On 2016-06-14 20:41, Florian Boucault wrote: > The output of strace shows that fontconfig opens those file during > every QML application startup. > > A solution to this would be to introduce a caching system: after > fontconfig opens and parses those files the first time it could > serialize the result to disk for subsequent starts.
>From "man fc-cache": <quote> fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font handling. If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each directory is scanned for font files readable by FreeType. A cache is created which contains properties of each font and the associated filename. This cache is used to speed up application startup when using the fontconfig library. </quote> Maybe there is a simple solution available. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1590804 Title: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/ To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1590804/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
