Hi,

>  With the disclaimer that my knowledge here is somewhat rusty, I believe
> that the magic is actually in TK. If it is compiled to use XFT fonts (and
> fontconfig and so on), it magically maps certain old style X font names
> to XFT fonts internally. I think that 'fixed' is one of them, but it may
> actually be handled in your standard fontconfig.

That explains some of the weirdness I've been seeing, like the literal 
"fixed" leading to DejaVuSansMono while anything derived from "fixed"
leading to DejaVuSans (proportional).

bodo@sakura:~$ fc-match fixed
DejaVuSans.ttf: "DejaVu Sans" "Book"
bodo@sakura:~$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

>  In any case, TK in general does allow you to select and control XFT
> fonts, and exmh inherits this. You can read about some of the details
> in the 'font(n)' TK manpage, and I wrote some more about this back in
> 2012 when Ubuntu 12.04 switched to a TK version compiled with XFT:

I had actually seen your article from back then when searching for a 
solution but didn't understand the solution from it.

>       *font:          monospace 11
>       *fl_font:       monospace 11

And this here is the solution! monospace expands to DejaVuSansMono and 
even after 10 or so years of exmh usage, I didn't know you could just add 
the size to the fontname this way.

$ grep font ~/.exmh/exmh-defaults
*font:          monospace 9
*fl_font:       monospace 9

This is exactly what I wanted. Thank you!

Cheers,
Bodo
-- 
Bodo Bellut          b...@bellut.net         |     USE PGP!       +-----------+
Talstr. 8d           Fax/Mobile:   just ask  | (key via server    |\  O---m  /|
44267 Dortmund       Fon: +49-700-77-BELLUT  |  or on request)    |/---------\|
PGP: 768/FA18A639 AE 5A 47 40 5A A0 D6 15  8E 54 44 AA 8D DD 6E BD+-----------+



_______________________________________________
Exmh-users mailing list
Exmh-users@redhat.com
https://www.redhat.com/mailman/listinfo/exmh-users

Reply via email to