[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font problems in Linux
> 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
> 39BB3167.47CBBD3D@ses.curtin.edu.au">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.