comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Font problems in Linux
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Font problems in Linux [message #21717] Mon, 11 September 2000 00:51
Nick Bower is currently offline  Nick Bower
Messages: 43
Registered: June 1999
Member
> I seem to recall a similar problem on Sun Solaris. In that case, the
> only way I could change the font in dialog_pickfile was to set the
> following resource in $HOME/.Xdefaults
>
> Idl*fontlist: 7x13
>
> This is the only X resource I normally set for IDL.

Didn't work. But here's the reason. According to the procedure,

device, font='*', get_fontnames=list_of_fonts

list_of_fonts doesn't contain entries such as "7x13", although the xlsfonts
command definately says they're there.

I tried subsitituting a type1 font name as I did for widget_control, but it
didn't work. My bet is that the .Xdefaults fontlist option no longer exists
- it's not mentioned *anywhere* in idlhelp.

nick



> Nick Bower <bowern@ses.curtin.edu.au> wrote in message
> news:39BB3167.47CBBD3D@ses.curtin.edu.au...
>> Hi. After upgrading to Mandrake 7.1 (using XFree86 v4.0.1), I've found
>> IDL is not displaying fonts properly on the faces of widgets. All the
>> characters look like empty squares.
>>
>> I was using:
>>
>> widget_control, default_font='8x13'
>>
>> So I changed this to use a specific font:
>>
>> widget_control, default_font = $
>> '-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 '
>>
>> This rectifies the problem for widget faces, but the text inside
>> dialog_pickfile dialogs is still garbled.
>>
>> Can anyone help me understanding this?
>
>
> Cheers,
> Liam.
Re: Font problems in Linux [message #21718 is a reply to message #21717] Sun, 10 September 2000 11:11 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Nick Bower <bowern@ses.curtin.edu.au> wrote in message
news:39BB3167.47CBBD3D@ses.curtin.edu.au...
> Hi. After upgrading to Mandrake 7.1 (using XFree86 v4.0.1), I've found
> IDL is not displaying fonts properly on the faces of widgets. All the
> characters look like empty squares.
>
> I was using:
>
> widget_control, default_font='8x13'
>
> So I changed this to use a specific font:
>
> widget_control, default_font = $
> '-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 '
>
> This rectifies the problem for widget faces, but the text inside
> dialog_pickfile dialogs is still garbled.
>
> Can anyone help me understanding this?

I seem to recall a similar problem on Sun Solaris. In that case, the only
way I could change the font in dialog_pickfile was to set the following
resource in $HOME/.Xdefaults

Idl*fontlist: 7x13

This is the only X resource I normally set for IDL.

Cheers,
Liam.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: where can i find some free map's data?
Next Topic: IDLgrROI and normalized coords

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:21:50 PDT 2025

Total time taken to generate the page: 1.15221 seconds