Re: fc-cache does not work after upgrade to 4.3.0
-----BEGIN PGP SIGNED MESSAGE-----
On Friday 07 Mar 2003 3:14 pm, Fedor Karpelevitch wrote:
> I did not tweak it, so I assume xfree 4.3.0 brought it. here is the
> chunk of /etc/fonts/fonts.conf which causes the problem.Is it for a
> different version of fontconfig or something?
> <match target="pattern">
> <test name="prefer_outline">
> <test name="family">
> <edit name="family" mode="prepend" binding="same">
These are not in my fonts.conf (standard debian install) and man fontconfig
does not mention binding "same" as a valid parameter.
You can probably get away with changing "same" to "strong". What this test
does is look for where someone has a requested Helvetica and Prefer Outline
as font characteristics and change the selected font to Arial. Strong
binding generally is where the font has been asked for specifically, weak
binding generally means someone has asked for a generic font such as
"sans-serif" and elsewhere in fontconfig it has been converted to a set of
weak binding family names of known fonts.
I guess its because xfree 4.3 has a later version of fontconfig with the
"same" parameter added.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----