New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 838615 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

warnings and slow startup with newer fontconfig library

Reported by kmans...@gmail.com, May 1 2018

Issue description

UserAgent: 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
 
Labels: Needs-Triage-M66
Cc: sindhu.chelamcherla@chromium.org
Components: Blink>Fonts
Labels: Triaged-ET TE-NeedsTriageHelp
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!

Comment 3 Deleted

Comment 4 by kmans...@gmail.com, 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).

Owner: thomasanderson@chromium.org
Status: Fixed (was: Unconfirmed)
Fontconfig has been updated
Checked with 69.0.3497.81 on Fedora - yes, the warnings are gone. Thanks!

Sign in to add a comment