Re: fc-cache does not work after upgrade to 4.3.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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">
> <bool>true</bool>
> </test>
> <test name="family">
> <string>Helvetica</string>
> </test>
> <edit name="family" mode="prepend" binding="same">
> <string>Arial</string>
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.
- --
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+aPIwuFHxcV2FFoIRAs+nAJ4zP+l0dCu+De3vDEssG7Jy7/rdkQCfS/AC
HqKvlCzcxD+EFjDu6N2f6SM=
=+jEJ
-----END PGP SIGNATURE-----
Reply to: