Re: Q: Font Size of (main) browser ?

Fons Rademakers (Fons.Rademakers@cern.ch)
Tue, 23 Jun 1998 16:16:10 +0200


Hi Andre,

in $ROOTSYS/tutorials/.rootrc you will find a list of all resources
supported by all ROOT programs. To change the GUI related fonts change
the font size in the lines:

# GUI specific settings
Gui.NormalFont: -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1
Gui.BoldFont: -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
Gui.SmallFont: -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1
Gui.ProportionalFont: -adobe-courier-medium-r-*-*-12-*-*-*-*-*-iso8859-1

to your liking (e.g. 12 to 14, 10 to 12).

Best is to copy this example .rootrc file to your home directory or
working directory. The .rootrc's are processed in the following order:
$ROOTSYS/.rootrc, $HOME/.rootrc, ./.rootrc. The last found resource
setting is used.

Cheers, Fons.

Andre Holzner wrote:
>
> Hello,
>
> I have been using root (Linux) for a few hours now. When I
> create a new browser with
>
> TBrowser b;
>
> a browser appears, but the font it uses is too small for
> my display. How can I change the font size and/or type ??
>
> (I already searched in the RootTalk archive...)
>
> best regards,
>
> Andre Holzner
>
> --
> ******************************************************
> * Office Phone: +41 22 76 79389 *
> * Office Location: Building 32 / Office 3-C21 *
> * Email: Andre.Holzner@cern.ch *
> ******************************************************

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910