Rawhide issue with fontconfig

Emmanuel Briot briot at adacore.com
Thu Oct 20 09:36:21 UTC 2005



I have recently updated fontconfig (now version 2.3.91.cvs20051017-1). I
had a duplicate on my system with fontconfig-2.3.2-1 (not removed when
doing the update).

I therefore removed the second one, and when running fc-cache, I get the
following error:

    Fontconfig error: "conf.d", line 1: no element found

 From what I could see, the issue comes from /etc/fonts/fonts.conf,
which contains the line:

    <include ignore_missing="yes">conf.d</include>

since conf.d is in fact a subdirectory, this is of course incorrect.
Commenting out that line removes the error.

I have tried to replace the line with

<include ignore_missing="yes">conf.d/40-blacklist-fonts.conf</include>
<include ignore_missing="yes">conf.d/50-no-hint-fonts.conf</include>
<include ignore_missing="yes">conf.d/autohint.conf</include>
<include ignore_missing="yes">no-bitmaps.conf</include>
<include ignore_missing="yes">no-sub-pixel.conf</include>
<include ignore_missing="yes">sub-pixel.conf</include>
<include ignore_missing="yes">unhinted.conf</include>
<include ignore_missing="yes">yes-bitmaps.conf</include>

but in fact the first one contains unknown tags:

Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 7: unknown
element "selectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 8: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 9: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 10: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 11: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 12: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 13: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 14: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 15: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 16: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 17: unknown
element "rejectfont"
Fontconfig warning: "conf.d/40-blacklist-fonts.conf", line 18: unknown
element "rejectfont"


and no-sub-pixel.conf and sub-pixel.conf seem to conflict with each
other, so I am not sure what the real intent is here.

I will simply remove the conf.d line since the system seems to work
correctly without it





More information about the fedora-devel-list mailing list