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

Home » Public Forums » archive » Re: Font differences between IDL 5.6 and IDL 6.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Font differences between IDL 5.6 and IDL 6.0 [message #38301 is a reply to message #38243] Mon, 01 March 2004 09:52 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
"Michael Wallace" <mwallace.removethismunge@swri.edu.invalid> wrote in
message news:103upet5npii528@corp.supernews.com...
>> Yes, IDL object graphics uses a completely new font library in
>> IDL 6.0 than they did in IDL 5.6. Perhaps there is a trade-off in
>> font size consistency with readability. I *greatly* prefer the
>> readability of the new fonts and *desperately* would like them
>> available in direct graphics, where they would be useful to
>> the 95% of us who use object graphics only infrequently. :-)
>
> While we're talking about fonts, why are fonts used in the Z buffer
> bigger than fonts used in the 'X' device? Is there some magic to make
> the Z buffer fonts appear the same as the 'X' fonts or vice versa?
>
> ; create a plot in 'X'
> set_plot, 'X'
> window, XSIZE=640, YSIZE=512
> plot, findgen(11), TITLE='Title', XTITLE='Index', YTITLE='Value'
> image1 = tvrd()
>
> ; create a plot in 'Z'
> set_plot, 'Z'
> device, SET_RESOLUTION=[640, 512]
> plot, findgen(11), TITLE='Title', XTITLE='Index', YTITLE='Value'
> image2 = tvrd()
>
> ; image1 and image2 are very different images! Why?

You need to explicitly set the font size for both devices, e.g.

device, set_character_size=[10, 12]

Then the font sizes should match.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Inserting space between a 'widget_droplist' and a 'widget_button'
Next Topic: Re: amoeba/mpfit/etc with a quantized variable?

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

Current Time: Sat Oct 11 04:08:22 PDT 2025

Total time taken to generate the page: 0.95990 seconds