Re: widget font size? [message #5068] |
Wed, 27 September 1995 00:00 |
Anne Martel
Messages: 10 Registered: May 1995
|
Junior Member |
|
|
"Ian E. Sprod" <Ian.Sprod@gsfc.nasa.gov> wrote:
>
> Hi,
>
> Anyone know how an IDL widget decides which font to use on an X-windows
> machine? How can the font be specified explicitly?
>
> Thanks,
>
> Ian
>
> --
>
> Ian E. Sprod | 301-286-8036 | FAX 301-286-1616 | ian@skye.gsfc.nasa.gov
>
The widget builder, wided, allows you to browse through a whole list
of Xfonts for each text item you define. This way you can play around
with different fonts to get the look you want.
If you then create the .pro file you can see that the format for the
widget command looks like this:
LABEL105 = WIDGET_LABEL( Main_base, $
FONT='-adobe-helvetica-bold-r-normal--20-140-100-100-p-105-i so8859-1', $
UVALUE='LABEL105', $
VALUE='Text label')
------------------------------------------------------------ -----------------
Anne Martel
Department of Medical Physics Tel: +44 (0) 115 924 9924 x 41277
Queen's Medical Centre Fax: +44 (0) 115 942 2745
Nottingham, UK e-mail: Anne.Martel@Nottingham.ac.uk
NG7 2UH
------------------------------------------------------------ -----------------
|
|
|