LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Some apps (at least Firefox Nightly, mozregression) complain about a wrong format of the fontconfig files. (https://www.linuxquestions.org/questions/slackware-14/some-apps-at-least-firefox-nightly-mozregression-complain-about-a-wrong-format-of-the-fontconfig-files-4175683434/)

Lockywolf 10-09-2020 11:33 PM

Some apps (at least Firefox Nightly, mozregression) complain about a wrong format of the fontconfig files.
 
Hello, everyone.

I am trying to bisect Firefox for an issue with broken Korean fonts: https://bugzilla.mozilla.org/show_bug.cgi?id=1655661

When I run "mozregression" https://mozilla.github.io/mozregression/ , it complains a lot in the console, about the following:

Code:

Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load default config file

There are a lot of similar errors, but the default 90-synthetic.conf is coming from the stock Slackware's fontconfig-2.13.92-x86_64-1 package.

Apparently, either the fontconfig does not support ITS (https://en.wikipedia.org/wiki/Intern...zation_Tag_Set) anymore, or it wants some compilation parameter...

gus3 10-10-2020 06:14 PM

Does gucharmap give the same error when displaying Hangul in the same font?

Lockywolf 10-11-2020 12:15 AM

Quote:

Originally Posted by gus3 (Post 6174303)
Does gucharmap give the same error when displaying Hangul in the same font?

No, it doesn't.

Moreover, the Firefoxen downloaded as binaries by mozregression do not seem to have the bug above. (Maybe because they ignore fonts.d?) However, binary Firefox 81 does have the bug. (And does not complain about the incorrect xml in fonts.d.)


All times are GMT -5. The time now is 11:22 PM.