LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fontconfig errors: Slackware -current (March 8) (https://www.linuxquestions.org/questions/slackware-14/fontconfig-errors-slackware-current-march-8-a-4175625336/)

andrew.46 03-10-2018 04:31 PM

Fontconfig errors: Slackware -current (March 8)
 
Just updated -current to the most recent: March 8th 2018. I see a lot of fontconfig errors with some applications. A typical sample of these errors is:

Code:

Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
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'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description"

And this is a small sample from a long output of errors...

So I suspect that I am missing something basic here, can somebody point me in the right direction?

GazL 03-11-2018 04:17 AM

Which applications?

I saw this from google-chrome which is obviously an alien executable built on a non-slackware system, but I've not seen it from anything else yet.

andrew.46 03-11-2018 05:14 AM

Best example is using qaac following this fine guide. A full paste of the errors here. I shall hunt out the other examples on my system...

andrew.46 03-12-2018 02:33 AM

Quote:

Originally Posted by GazL (Post 5829586)
Which applications?

I am a little slow these days but I can now see that the error occurs with wine applications that run from the command line. So the error is seen with applications such as qaac, fhgaacenc and also foobar200 when I open these from the commandline.

This is using alienbob's wine package:

Code:

andrew@illium~$ wine --version
wine-2.21 (Staging)
andrew@illium~$

So I am not sure if this a fontconfig issue or a wine issue or something amiss on my system?...

GazL 03-12-2018 05:00 AM

Perhaps wine just needs rebuilding against the new fontconfig library.

andrew.46 03-13-2018 06:29 AM

Quote:

Originally Posted by GazL (Post 5829936)
Perhaps wine just needs rebuilding against the new fontconfig library.

It is a bit of a beast to recompile :). And unfortunately the errors persist...

volkerdi 03-13-2018 12:38 PM

The new fontconfig was just something that was recommended as a version bump in -current, so it got upgraded. But is there really anything "better" about it? Perhaps the lucky number 13 (and the even luckier .0 ending) should have been a hint.

What say you all, should this be reverted to the previous version for a while to let things catch up, similar to what we did with freetype?

number22 03-13-2018 01:23 PM

since you only say wine has problem, you probably has mismatch compat32 version of fontconfig with a 64bit system. Just a guess.

GazL 03-13-2018 04:08 PM

Other than the error/warning messages on stderr I haven't noticed any operational issues, so I'm inclined to say we just live with it. Slackware's not going to be the only distro shipping 2.13.0 and google and other 3rd party vendors will soon catch up.

Having said that, I've no *need* for the latest version, so if you think it prudent to revert while things adjust then that's also fine by me.

andrew.46 03-13-2018 05:36 PM

Quote:

Originally Posted by volkerdi (Post 5830579)
What say you all, should this be reverted to the previous version for a while to let things catch up, similar to what we did with freetype?

The warnings / errors that I have found with wine are a nuisance rather than a problem for me, running qaac + wine with abcde (where I discovered the issue) still produces great audio, just with a spray of font error messages.

I have reverted to fontconfig 2.12.6 on my own system and the errors disappeared so I am happy enough to have found the culprit at least.

linuxbawks 03-13-2018 06:58 PM

I've more often than not have had to clear out the crud from /etc/fonts/* and /etc/fonts/conf.d/* whenever doing a fontconfig update or dare I say it [upgrade]. The config files are put in /usr/share/fontconfig and symlink from there to /etc.

1337_powerslacker 03-19-2018 01:08 PM

Quote:

Originally Posted by andrew.46 (Post 5830701)
The warnings / errors that I have found with wine are a nuisance rather than a problem for me, running qaac + wine with abcde (where I discovered the issue) still produces great audio, just with a spray of font error messages.

I have reverted to fontconfig 2.12.6 on my own system and the errors disappeared so I am happy enough to have found the culprit at least.

Alas, the errors I had were showstoppers; wine would not run Unreal Gold/Tournament 99 (two of my fave retro games) and reverting to the previous version corrected the problem.

It would appear that staying with the previous version is a wise course of action, at least for now.

Petri Kaukasoina 03-21-2018 02:13 AM

Quote:

Originally Posted by number22 (Post 5830612)
since you only say wine has problem, you probably has mismatch compat32 version of fontconfig with a 64bit system.

So, no one told whether they actually installed fontconfig-compat32-2.13.0-x86_64-1compat32 or tried to read the new 2.13.0 config files using the old 2.12.6 32-bit compatibility library.

andrew.46 03-23-2018 09:22 PM

Thanks PV:

Code:

x/fontconfig-2.12.6-x86_64-1.txz:  Upgraded.
  Reverted to previous version. There are problem reports with the latest
  version, and I see no upside to staying on the bleeding edge right now.

No other distro that I have ever tried has been this responsive to an ordinary user's problems... Thanks!!

1337_powerslacker 03-23-2018 11:23 PM

Quote:

Originally Posted by andrew.46 (Post 5834690)
Thanks PV:

Code:

x/fontconfig-2.12.6-x86_64-1.txz:  Upgraded.
  Reverted to previous version. There are problem reports with the latest
  version, and I see no upside to staying on the bleeding edge right now.

No other distro that I have ever tried has been this responsive to an ordinary user's problems... Thanks!!

One of the many reasons I stay with Slackware, other than the rock-solid stability and performance, that is. Thanks from myself as well, PV. It is much appreciated!!


All times are GMT -5. The time now is 12:57 PM.