Re: fonts

Emile CARCAMO <[email protected]> Fri, 27 Sep 2013 09:09:15 +0200
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
> 
> I finally got around to "upgrading" my Ubuntu 10.04 LTS system to the 12.04 LTS 
> release. Of course, everything user-interface related broke because of this 
> inane Unity crap.
> 
> I got some of the gnome env back, although all of my keybindings are toast and 
> I still haven't figured out how to reconfigure them.
> 
> My biggest problem right now is fonts.
> 
> The font I have specified in the .exmh/exmh-defaults file seems to only be used 
> in the folder display. I have no idea what's being used for the rest, but I'm 
> ready to scream.
> 
> This is the only "font" line in the file:
>  *font:			clb8x13
> 
> How do I make exmh use it for all of its parts? I can take my time with the 
> rest of this, but email is a high priority.
> 


Hi John & All,

	In my .exmh/exmh-defaults conf file I've added this
	manually at the end, and it works well so far :

!!! Font Resources
!!! Wed Jun 20 09:30:39 CEST 2007
*font:                                  -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Button.font:                           -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Entry.font:                            -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Message.font:                          -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Text.font:                             -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*fl_font:                               -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Menubutton.font:                       -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Checkbutton.font:                      -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Radiobutton.font:                      -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*Menu.font:                             -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
!!! End Fonts

	but another guess would be to do it at this level :

<dell540.wifi>[lib]<146>grep lucidatypewriter-bold /usr/local/exmh/lib/app-defaults
*font: -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
*fl_font: -*-lucidatypewriter-bold-*-normal-*-14-*-*-*-*-*-*-*
<dell540.wifi>[lib]<147>

	I presume the second method will work for sure ;-)


	I'm running fc19 (Schrödinger's Cat) together with
	a custom version of tcl/tk (8.6.0) :

<dell540.wifi>[emile]<124>grep -i wish /usr/local/exmh/bin/exmh
#!/usr/local/bin/wish -f
set wish /usr/local/bin/wish
<dell540.wifi>[emile]<125>/bin/ls -l /usr/local/bin/wish /usr/local/bin/tclsh
lrwxrwxrwx 1 emile carcamo 8 Jul 15 14:25 /usr/local/bin/tclsh -> tclsh8.6
lrwxrwxrwx 1 emile carcamo 7 Jul 15 14:25 /usr/local/bin/wish -> wish8.6
<dell540.wifi>[emile]<126>

	instead of the one's provided by the distro :

			tk-8.5.14-1.fc19.i686
			tcl-8.5.14-1.fc19.i686

	All is great except UTF-8 messages display that does
	not support any iso10646 font :

<dell540.wifi>[lib]<147>grep utf\-8 /usr/local/exmh/lib/app-defaults
*mimeCharsets: us-ascii iso-8859-1 iso-8859-8 iso-2022-jp koi8-r iso-8859-2 iso-10646-1 utf-8
*mime_utf-8_registry: iso10646
*mime_utf-8_encoding: 1
*mime_utf-8_plain_families: fixed
*mime_utf-8_fixed_families: fixed
*mime_utf-8_proportional_families: fixed
*mime_utf-8_title_families: fixed
<dell540.wifi>[lib]<148>

	So I've ended up with writing a shell script to convert
	any utf-8 message in iso-8859-1 charset. Ugly but fully
	functionnal :-( Good luck,

-Émile