warnings and slow startup with newer fontconfig library
Reported by
kmans...@gmail.com,
May 1 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36 Steps to reproduce the problem: Fedora 28 apparently uses a newer fontconfig library which has a different config file format. When starting up Chrome from the command line there are numerous warnings like this: Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules" Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate' Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector' Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version' When starting not from the command line, the warning are of course not visible, but startup time seems slower According to this: https://bbs.archlinux.org/viewtopic.php?id=235643 ... to fix these errors, Chrome would need to be build with a newer version of fontconfig library. What is the expected behavior? What went wrong? Numerous warnings related to fontconfig. Slower startup time. Fontconfig settings probably (I'm guessing) not applied. Did this work before? N/A Chrome version: 66.0.3359.117 Channel: stable OS Version: Fedora 28 x64 Flash Version: n/a
,
May 2 2018
This issue seems to be out of TE scope as this is related to Fedora28 fontconfig file. Hence adding TE-NeedsTriageHelp label. Could someone from Fonts team please have a look at this issue. Thanks!
,
May 2 2018
Turns out there is a ticket opened for this already: https://bugs.chromium.org/p/chromium/issues/detail?id=829890 Sorry I'd missed it (but I did search for "fontconfig"...) The library change can be reviewed here: https://cgit.freedesktop.org/fontconfig/commit/?id=9a0fcb948 And as it says in the other ticket under comment #7 https://bugs.chromium.org/p/chromium/issues/detail?id=829890#c7 the change is backwards-compatible and it's enough to ignore the new XML elements (under its: namespace).
,
Sep 5
Fontconfig has been updated
,
Sep 5
Checked with 69.0.3497.81 on Fedora - yes, the warnings are gone. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by susan.boorgula@chromium.org
, May 1 2018