Re: rotated postscript fonts [message #27984] |
Wed, 14 November 2001 17:41 |
noymer
Messages: 65 Registered: June 1999
|
Member |
|
|
David Fanning writes:
> Use True-type fonts, which are PostScript vector fonts
> that are rotatable in 3D space.
Everything above is correct except the word PostScript, if I'm not mistaken.
PostScript and TT are different specifications. IIRC, PS uses cubic shapes and
TT uses quadratic, and therefore render with fewer calculations.
PostScript fonts are rotatable in 3D space---but not by IDL.
Andrew
|
|
|
Re: rotated postscript fonts [message #27991 is a reply to message #27984] |
Wed, 14 November 2001 15:47  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Steve Smith<steven_smith> (nobody@nowhere.com) writes:
> But actually, I didn't really want
> the perspective, I just want straight up and down or left to right labels of
> nice looking postscript fonts, the true type fonts are better than the hershey
> fonts, but they are still (especially when they are drawn in perspective)
> a little edgy looking.
You must be looking at these on your display.
They don't look anything like "edgy" when
printed on a PostScript printer. :-)
Cheers,
David
P.S. Let's just say that quickly changing
lots of parameters for PostScript output
was *exactly* why PSConfig was invented.
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: rotated postscript fonts [message #27994 is a reply to message #27991] |
Wed, 14 November 2001 15:28  |
nobody@nowhere.com (S
Messages: 55 Registered: July 2001
|
Member |
|
|
On Wed, 14 Nov 2001 09:33:20 -0700, David Fanning <david@dfanning.com> wrote:
> Steve Smith<steven_smith> (nobody@nowhere.com) writes:
>
>> I would like to use postscript fonts for the labels in a shade_surf plot,
>> because the vector drawn fonts are hard to read and not nice-looking. But
>> IDL (5.2) vertically stacks one letter on top of the other for the Z-axis
>> when I set the FONT=0 (choosing PS fonts). I'd like to have the Z-axis
>> label rotated 90 degrees (normal typeset, but rotated), which is what happens
>> when using the vector drawn fonts. I don't see any way to do this, but there
>> _must_ be a way, can anyone tell me how?
>
> Use True-type fonts, which are PostScript vector fonts
> that are rotatable in 3D space.
>
> !P.Font = 1
>
> Or,
>
> Shade_Surf, data, Font=1
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Thanks David! Ugh, so this works on the Linux IDL also, I don't have TT on
my system (it's outdated, in keeping with my direct graphics IDL programs)?
wait a tick! I just answered my own question, from help: IDL 5.2 and on supply
true type fonts with the installation ( I DID NOT KNOW THAT ). So even my
klunky old Linux box can do TT fonts :^) !! But actually, I didn't really want
the perspective, I just want straight up and down or left to right labels of
nice looking postscript fonts, the true type fonts are better than the hershey
fonts, but they are still (especially when they are drawn in perspective)
a little edgy looking. Which I gather is because IDL draws many polygons to
represent the TT font. I guess this is the best that can be done?
Thanks for the help!
--
Steve S.
steve@NOSPAMmailaps.org
remove NOSPAM before replying
|
|
|
Re: rotated postscript fonts [message #28013 is a reply to message #27994] |
Wed, 14 November 2001 11:02  |
Logan Lindquist
Messages: 50 Registered: October 2001
|
Member |
|
|
"Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
news:slrn9v579m.4uj.nobody@pooh.nrel.gov...
Steve,
Just a suggestion when you try and print the plot. If your plot has a higher
resolution, using a congrid function, you would be able to read the text
better. 300 dpi is the suggested. Hopefully Professor Fanning ;) was able to
solve the labeling problem!
Logan Lindquist
|
|
|
Re: rotated postscript fonts [message #28017 is a reply to message #28013] |
Wed, 14 November 2001 08:33  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Steve Smith<steven_smith> (nobody@nowhere.com) writes:
> I would like to use postscript fonts for the labels in a shade_surf plot,
> because the vector drawn fonts are hard to read and not nice-looking. But
> IDL (5.2) vertically stacks one letter on top of the other for the Z-axis
> when I set the FONT=0 (choosing PS fonts). I'd like to have the Z-axis
> label rotated 90 degrees (normal typeset, but rotated), which is what happens
> when using the vector drawn fonts. I don't see any way to do this, but there
> _must_ be a way, can anyone tell me how?
Use True-type fonts, which are PostScript vector fonts
that are rotatable in 3D space.
!P.Font = 1
Or,
Shade_Surf, data, Font=1
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|