Re: Coyote Graphics "stuck" on Helvetica when outputting to PostScript? [message #91856 is a reply to message #91671] |
Fri, 04 September 2015 06:45  |
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.")
|
|
|