[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2018-11-22 Thread Adolfo Jayme
** Changed in: fontconfig (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in Ubuntu. https://bugs.launchpad.net/bugs/1590804 Title: fontconfig initialization spends

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-09-20 Thread Pat McGowan
** Changed in: canonical-devices-system-image Milestone: 13 => backlog -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in Ubuntu. https://bugs.launchpad.net/bugs/1590804 Title: fontconfig initialization

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-09-16 Thread Pat McGowan
** Changed in: canonical-devices-system-image Importance: High => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in Ubuntu. https://bugs.launchpad.net/bugs/1590804 Title: fontconfig initialization spends

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-08-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: fontconfig (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in Ubuntu.

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-07-01 Thread Alberto Aguirre
So actually, fontconfig does not cache conf files at all... it caches fonts but not conf files... fontconfg needs support to also cache the result of the parsing of the xml config file parsing. It seems a low priority effort for less than a 35ms improvement in startup. -- You received this bug

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-07-01 Thread Alberto Aguirre
Also FcInitReinitialize and FcInitBringUptoDate both will do the same thing the first time is called in the process, so wouldn't help for startup either. ** Changed in: qtbase-opensource-src (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-07-01 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: New => In Progress ** Changed in: canonical-devices-system-image Milestone: backlog => 13 ** Also affects: qtbase-opensource-src (Ubuntu) Importance: Undecided Status: New ** Changed in: qtbase-opensource-src (Ubuntu)

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-23 Thread Alberto Aguirre
>From the attached backtrace, It seems that Qt calls FcInitReinitialize when populating its font database (a QGenericUnixFontDatabase instance provided by Qtubuntu) - that explains why re-parses the conf files everytime. See

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-22 Thread Alberto Aguirre
I tried fc-cache, but starting a qml app still continues to open up the conf files. Digging through Qt source to understand where these calls are coming from. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-15 Thread Gunnar Hjalmarsson
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

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-15 Thread Jean-Baptiste Lallement
For a given user only a subset of these fonts are used, so this could probably be mitigated by installing fonts on demand with the language (reported in bug 1577369) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-14 Thread Florian Boucault
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. -- You received

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-14 Thread Gunnar Hjalmarsson
Hmm.. fontconfig must parse those XML files at startup to do its job. While you indicate that it happens at startup of QML apps, my belief was that it happens already at login. It may well be possible to reduce the number of fontconfig config files, but that would be a large project, where you'd

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-14 Thread Florian Boucault
** Tags added: performance -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in Ubuntu. https://bugs.launchpad.net/bugs/1590804 Title: fontconfig initialization spends most of its time parsing XML configuration

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-14 Thread Bill Filler
** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to fontconfig in Ubuntu. https://bugs.launchpad.net/bugs/1590804 Title: fontconfig

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-14 Thread Florian Boucault
For information, output of strace related to that: open("/etc/fonts/conf.d/10-antialias.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 25 open("/etc/fonts/conf.d/10-hinting-slight.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 25 open("/etc/fonts/conf.d/10-hinting.conf", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 25

[Touch-packages] [Bug 1590804] Re: fontconfig initialization spends most of its time parsing XML configuration files in /etc/fonts/conf.d/

2016-06-14 Thread Bill Filler
** Changed in: canonical-devices-system-image Assignee: (unassigned) => kevin gunn (kgunn72) ** Changed in: canonical-devices-system-image Milestone: None => backlog ** Changed in: canonical-devices-system-image Importance: Undecided => High -- You received this bug notification