new font selection dialog, anyone?

Alexander Zangerl <[email protected]> Thu, 21 Apr 2011 18:01:23 +1000
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
i've just committed a small fix for using exmh with tk8.5.

8.5 understands font faces, in addition to normal x11 fonts (via XLFD
and shortnames). the problem is that exmh defaults to font "fixed" all
over the place, but with 8.5 "fixed" is interpreted as a font face, not
an X11 font name (faces are checked first, XLFDs only later).

net result: you get all kinds of odd fonts with 8.5, but almost certainly
not a simple monospaced fixed font (try xfd -fa fixed vs. xft -fn fixed for 
an example). 

i've changed exmh.master to make "fixed" an alias for TkFixedFont if tk8.5
is detected. such named fonts are considered first.

in the long run, however, we'll need to extend the font chooser dialog to
support font faces as well.

regards
az


-- 
+ Alexander Zangerl + DSA 42BD645D + (RSA 5B586291)
The moving cursor writes, and having written, blinks on.  -- BSD fortune file

_______________________________________________
Exmh-workers mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-workers
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk2v5G8ACgkQpy/2bEK9ZF1xhgCeIqArdMD6IoKGLNLz+ysMwD6O
znwAnR0Gsd30xuEFvqG2HUTjkl/D+j/8
=kSCx
-----END PGP SIGNATURE-----