confused about <alias> <prefer>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



=2D----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 fami=
ly. =20
If you try to create a QFont without a name it uses QApplication::font whic=
h=20
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=3D"family">
> 	                <string>fixed</string>
> 	        </test>
> 	        <edit name=3D"family" mode=3D"assign">
> 	        </edit>
> 	</match>
>

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).

Hehe

Thanks for your help.


=2D --=20
Alan Chandler
alan@xxxxxxxxxxxxxxxxxxxxx
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Xb2tuFHxcV2FFoIRAkHlAJ9fgkv+anXmEU9EYPrkqqSNdRHesgCeIe99
tcdyzIT9FbgKPhVh7Li7P4Y=3D
=3DNUbI
=2D----END PGP SIGNATURE-----




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux