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

Home » Public Forums » archive » Re: rotated postscript fonts
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: rotated postscript fonts [message #27984] Wed, 14 November 2001 17:41
noymer is currently offline  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 Go to previous message
David Fanning is currently offline  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 Go to previous message
nobody@nowhere.com (S is currently offline  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 Go to previous message
Logan Lindquist is currently offline  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 Go to previous message
David Fanning is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Array resizing
Next Topic: OT(ish): ANA seems to be back

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

Current Time: Fri Oct 10 13:40:34 PDT 2025

Total time taken to generate the page: 1.60047 seconds