Re: display of utf-8 messages in exmh-2.8.0
Chris Siebenmann <[email protected]> Tue, 16 Jul 2013 11:23:40 -0400
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
| >The most likely problem is that you don't actually have a UTF-8
| >font family called "fixed" that the Tk/Tcl font selector code can
| >find. I've looked at that code several times, and freely admit that
| >the combination of Tk/Tcl code and fontconfig makes me run away in
| >screaming horror. ;)
|
| Part of the problem may be that with newer versions of Tk it's not
| possible to use any semicondensed fonts, even if you give the full X
| specification.
New versions of Tk are almost certainly using new XFT font handling
instead of old-style XLFD fonts. Exmh itself doesn't or didn't have
very good (or really any) handling of XFT fonts and Tk's handling of
XFT font names is in general rather limited (you can't specify many
XFT attributes).
Last year I sent a preliminary patch for handling XFT fonts to
exmh-workers that works for me (and works nicely, in that my exmh
now displays much more UTF-8 and foreign language spam than it ever
did before). I can't remember if it's been integrated into the CVS
version; if not, you can get a copy of it from eg gmane.org:
http://permalink.gmane.org/gmane.mail.exmh.devel/1093
A potentially useful discussion of XFT font naming in Tk applications
(which is somewhat relevant to configuring exmh's XFT font usage with my
patch) is in:
http://utcc.utoronto.ca/~cks/space/blog/programming/TK85XFTFontNotes
-cks