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

Home » Public Forums » archive » Re: cgAxis labels in different orientation in PS than on screen
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: cgAxis labels in different orientation in PS than on screen [message #77618 is a reply to message #77617] Thu, 15 September 2011 15:20 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Well, the problem is that PS_START sets !P.FONT=0 when
> configuring the PostScript device. You need it to be
> set to 1, to do True-Type fonts, which can rotate in
> 3D space. (Hershey fonts, !P.FONT=-1 can do this, too,
> but they suck in PostScript.)
>
> This is trickier than it looks, because *which* True-Type
> font you choose is really, really machine dependent, and
> I don't like to make this choice for the user. It probably is
> something that should be controlled by cgControl.

Oh! Already done! Who programmed these wonderful tools
anyway? ;-)

Try something like this before you create your cgWindow:

IDL> cgWindow_SetDefs, PS_FONT=1, PS_TT_FONT='Helvetica'

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: truncation when reading variables from netcdf file?
Next Topic: Re: How can make a simple movie from .txt files

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

Current Time: Fri Oct 10 04:57:30 PDT 2025

Total time taken to generate the page: 1.67666 seconds