** 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
** 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
** 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
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.
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
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
** 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)
>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
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
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
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
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
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
** 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
** 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
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
** 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
17 matches
Mail list logo