Re: Fonts Again

Bodo Bellut <[email protected]> Sun, 02 Jun 2019 13:06:40 +0200
Newsgroups gmane.mail.exmh.user
Message-ID <E1hXOK0-0000HT-Rr@sakura>
Hi,

> 	On my laptop running Fedora30 I have this font setup and the
> 	exmh display looks just great :

I had actually read this in the list archive and tried but without 
success. I have the Lucida bitmap fonts installed and xlsfonts does list 
them:

$ xlsfonts | grep 'lucidatypewriter-bold.*normal' | grep -w 14
-b&h-lucidatypewriter-bold-r-normal-sans-14-100-100-100-m-80-iso10646-1
-b&h-lucidatypewriter-bold-r-normal-sans-14-100-100-100-m-80-iso8859-1
-b&h-lucidatypewriter-bold-r-normal-sans-14-140-75-75-m-90-iso10646-1
-b&h-lucidatypewriter-bold-r-normal-sans-14-140-75-75-m-90-iso8859-1

However, when I set up exmh like you have it, I still get DejaVuSans, but 
bold instead of normal. It's also no longer fixed width.

These are the font resources opened when I use your settings:

$ lsof -p 31430 | grep fonts
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
      Output information may be incomplete.
exmh    31430 bodo  mem    REG                8,2   141324  9049296 /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-italic.otf
exmh    31430 bodo  mem    REG                8,2   757076  7867556 /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
exmh    31430 bodo  mem    REG                8,2   705684  7867555 /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
exmh    31430 bodo  mem    REG                8,2   139480  9049294 /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-bold.otf
exmh    31430 bodo  mem    REG                8,2   340712  7867558 /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf

And these are the resources used when I go back to the app-defaults:

$ lsof -p 4542 | grep fonts
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
      Output information may be incomplete.
exmh    4542 bodo  mem    REG                8,2   141324  9049296 /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-italic.otf
exmh    4542 bodo  mem    REG                8,2   757076  7867556 /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
exmh    4542 bodo  mem    REG                8,2   139480  9049294 /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-bold.otf
exmh    4542 bodo  mem    REG                8,2   340712  7867558 /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf

> 	I don't know if that's relevant but I don't use TCL/TK from the F30
> 	distro : I recompile them to be installed under /usr/local or /opt.
> 	That does not conflict with any F30 RPM, and it survives any time
> 	I must reinstall a new release of Fedora from scratch :

I'm gessing you've compiled Tk with "--disable-xft" or you've somehow 
convinced fontconfig to serve bitmap fonts as well.

But as I said, I'm happy with the font itself, all I want to achieve is 
reducing the font size.

Is there a way to change the font size in exmh without affecting the whole
system?

Thanks,
Bodo
-- 
Bodo Bellut          [email protected]         |     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+-----------+