Re: Changing IceWM fonts (can't figure it out)...

Adam Pribyl <[email protected]> Sat, 19 Mar 2011 19:21:09 +0100 (CET)
Newsgroups gmane.comp.window-managers.icewm.user
Message-ID <[email protected]>
On Sun, 13 Mar 2011, Noel Milton Vega wrote:

> Hi friends:
>
>
> This question has been asked before, I'm sure...
>
> Not once in the time I've been happily using icewm, did I ever think of
> playing with the fonts. It only became apparent when Firefox (and other
> programs) looked too big for my high resolution screen (after rebooting
> from Windows-7 to Linux on my dual boot laptop - that's when I noticed).
>
> My question...
>
> I tried toying with the various font directives in my ~/.icewm/preferences
> file, like the following (and others like it)...
>
>   TitleFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
>   TitleFontNameXft="sans-serif:size=7"
>
> but nothing works to get fonts smaller and crisper looking (neither for
> the native icewm window widgets, nor for launched applications). In fact
> changing the above have no effect whatsoever (may I'm changing the
> wong ones?) For example, the appearance of Firefox and other programs are
> unaffected by any changes to the above -- and remain too big (the menus,
> the title bar, the scroll bars, etc).
>

Font battles are never ending. You have to take in mind that there are 
several mechanism and toolkits, each using it's own font mechanism. IceWM 
is using "pure" X font setup - try to run xfontsel and the set properly 
TitleFontName etc. This influences only IceWM - this is what it says - 
titlebart, taskbar etc.

If you wanna change the firefox font, than you have to setup font for GTK 
apps. E.g. thru gnome-appearance-properties or thru .gtkrc. Same applies 
to KDE applications, but there is more.

The size of the font for global screen display you may influence by Xorg 
server dpi settings (xdpyinfo | grep resolution) etc...


> A million thank yous in advance.
>
> ~N

Once again: There is no single place setup to set them all.

Adam Pribyl

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d