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

Home » Public Forums » archive » Coyote Graphics "stuck" on Helvetica when outputting to PostScript?
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: Coyote Graphics "stuck" on Helvetica when outputting to PostScript? [message #91856 is a reply to message #91671] Fri, 04 September 2015 06:45 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
jasdeepsinghanand@googlemail.com writes:

> Lately I've encountered a weird bug with the latest Coyote Graphics library. I'm outputting a plot to a PostScript, and then a .png file using cgps_open/cgps_close. I want the text in the plot to be in Times New Roman, so I use the following command:
>
> cgPS_Open, FILENAME = <...>, TT_FONT = 'Times'
>
> This worked fine last year when I first tried it about a year or so ago. Lately I've needed to update my original plot, so I use the same code above. However, this time I find that my plot uses Helvetica. I've tried changing the TT_FONT field to every other TrueType font, and I still get Helvetica in my final plot. Even setting FONT = 0 causes the same thing to happen!
>
> Has anyone else here encountered such a problem? I'm pretty sure it's to do with either IDL or the CG Library, as I've run this on both Windows and Linux systems and got the same result. Does anyone know if older versions of the library are stored anywhere?

I'd try putting FONT=1 on your plotting command line.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: OPENW
Next Topic: plot function and legend in a for loop

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

Current Time: Wed Oct 08 13:53:45 PDT 2025

Total time taken to generate the page: 0.25281 seconds