[Fontconfig] confused about <alias> <prefer>
Thu, 27 Feb 2003 07:26:37 +0000
=2D----BEGIN PGP SIGNED MESSAGE-----
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 fami=
If you try to create a QFont without a name it uses QApplication::font whic=
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:
> <test name=3D"family">
> <edit name=3D"family" mode=3D"assign">
I'll experiment - my local.conf has exactly the above but with the string=20
"console" in the edit.=20
> 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).
Thanks for your help.
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
=2D----END PGP SIGNATURE-----