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  |
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/
|
|
|