SUMMARY: setting a users default fontsize

From: Donald McLachlan (
Date: Tue Sep 20 1994 - 19:09:09 CDT

There seem to be a miriad of ways of accomplishing this.


I forgot to mention that we are using SunOS 4.1.3, so although this solution
won't work for me, it seems to be the easiest for Solaris 2.3 users ...

        workspace menu -> Properties -> Fonts


The simpleest/most popular answer for SunOS 4.1.3 is to edit the .Xdefaults
 file in the users home directory and add the following line.

        Window.Scale: large

and then to run

        xrdb .Xdefaults

Default value is "medium". Other legal values are "small" and "extra_large".


Another popular solution was to set some combination of the following
in the users .Xdefaults file ...

XTerm*Font: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*
Font.Name: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*
*ButtonFont: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*
*MenuButtonFont: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*
*TextFont: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*
*TitleFont: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*
*buttonFont: -*-*-bold-r-normal-*-24-*-*-*-m-*-*-*

It seems the fonts can also be set on a per application basis ...

emacs*font: -adobe-courier-bold-r*140*
emacs*boldFont: -adobe-courier-bold-r*140*
pine*font: -adobe-courier-bold-r*140*
xterm*font: -adobe-courier-bold-r*140*
xterm*boldFont: -adobe-courier-bold-r*140*

NOTES: - "xlsfonts -output" displays the list of supported fonts.
        - xfontsel can be used to view the fonts!
        - apparently "Courier" and "Schumacher" are the only fixed-width fonts.


Here is a summary sent to me by Vincenzo Tantimonaco <E.Tantimonaco@ITS.IT>

----- Begin Included Message -----

SUMMARY - How to change font size

As usual the answers came quickly. Although most of the fixes work in
4.1.3 and 2.x, some will only work in one or the other.
The suggestions are:

 in ~/.openwin-init. add to the cmdtool lines -Wx extra_large
                -scale large or
                -scale medium
In .Xdefaults there are a wide variety of choices:

        Window.Scale: medium

        Window.Font: Screen-14

        Font.Name: screen.b.16

        Font.Name: screen.b.16
                works well on SunOS but not on Solaris;

                works well on most things

        OpenWindows.TextFont: screen.r.20 . courier-bold-18 screen.r.-12

        XTerm*boldFont: -*-lucida sans typewriter-bold-r-*-*-12-*-*-*-*-*-*-*

        XTerm*font: -*-lucida sans typewriter-medium-r-*-*-12-*-*-*-*-*-*-*

The following note may be useful to those who are not fully X enabled:

        I use both shelltool and xterm. I just played with it and if I change
        the value to "screen.r.-18" and do a "xrdb ~/.Xdefaults",
        shell tools and command tools come up with the bigger font and my
        xterms are left alone.

        Use xfontsel to view fonts

Another recommendation:
        The Way recommended by SUN to comply to german Ergonomics is to install
        Patch 100452-06 (hey, I should look into that one ...).

----- End Included Message -----

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:10 CDT