[Fontconfig] confused about <alias> <prefer>
Alan Chandler
alan at chandlerfamily.org.uk
Thu Feb 27 18:26:37 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 27 Feb 2003 12:05 am, Keith Packard wrote:
> The right way is to get KDE to stop using a specific family name when it
> wants a generic monospace font. I'm afraid this may well be my fault when
> I was originally hacking Qt for Xft support. I used 'fixed' as the
> generic name before I figured out how font naming in CSS2 works and
> switched to 'monospace'.
I am not an expert, but I don't think Qt has a way of not specifying a family.
If you try to create a QFont without a name it uses QApplication::font which
is set to "Helvetica" by default.
>
> > A problem with no obvious way out - except by trying to get "fixed"
> > overwridden when fontconfig does its matching.
>
> You should be able to delete the 'fixed' entry with:
>
> <match>
> <test name="family">
> <string>fixed</string>
> </test>
> <edit name="family" mode="assign">
> </edit>
> </match>
>
I'll experiment - my local.conf has exactly the above but with the string
"console" in the edit.
> You might want additional tests to avoid eliminating 'fixed' from all
> applications (or maybe not -- there aren't any decent looking fonts in the
> fixed family).
Hehe
Thanks for your help.
- --
Alan Chandler
alan at chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+Xb2tuFHxcV2FFoIRAkHlAJ9fgkv+anXmEU9EYPrkqqSNdRHesgCeIe99
tcdyzIT9FbgKPhVh7Li7P4Y=
=NUbI
-----END PGP SIGNATURE-----
More information about the Fontconfig
mailing list