Re: Problems when printing ps plots from C [message #41898] |
Thu, 02 December 2004 15:04 |
Karl Schultz
Messages: 341 Registered: October 1999
|
Senior Member |
|
|
On Thu, 02 Dec 2004 10:39:22 -0800, Juan I. Cicuendez wrote:
> David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1c18bf681ea8afd0989891@news.frii.com>...
>> Juan I. Cicuendez writes:
>>
>>> I am using callable IDL from C without any graphical window and I
>>> found problems when trying to output the plot in postscript format (I
>>> am use object graphics) to create the plot. So far, I get a plot with
>>> the correct axis, polylines but all the fonts are missing. I also try
>>> to change the IDLgrFonts from Helvetica to one of the vector fonts but
>>> in this case nothing is drawn. I am using a IDLgrClipboard object to
>>> convert the IDLgrView object into a postscript file.
>>>
>>> Has anyone bumped into a similar problem? Any ideas?
>>
>> Yes, but IDL 6.1.1 cleared it up. What version are you
>> using?
>>
>> Cheers,
>>
>> David
>
> Ok, I am using IDL 6.0. Any workaround?
Although this symptom does look suspiciously like the problem David is
referring to, I don't think it is your problem because you are using IDL
6.0.
I would guess that your C program is running in an environment that does
not have the IDL_DIR environment variable set. The IDL routines you are
calling cannot find the fonts because this environment variable is not set
and they have no idea where to look. Try setting IDL_DIR to the IDL
installation directory.
Karl
|
|
|
Re: Problems when printing ps plots from C [message #41905 is a reply to message #41898] |
Thu, 02 December 2004 10:39  |
jicicuendez
Messages: 12 Registered: November 2001
|
Junior Member |
|
|
David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1c18bf681ea8afd0989891@news.frii.com>...
> Juan I. Cicuendez writes:
>
>> I am using callable IDL from C without any graphical window and I
>> found problems when trying to output the plot in postscript format (I
>> am use object graphics) to create the plot. So far, I get a plot with
>> the correct axis, polylines but all the fonts are missing. I also try
>> to change the IDLgrFonts from Helvetica to one of the vector fonts but
>> in this case nothing is drawn. I am using a IDLgrClipboard object to
>> convert the IDLgrView object into a postscript file.
>>
>> Has anyone bumped into a similar problem? Any ideas?
>
> Yes, but IDL 6.1.1 cleared it up. What version are you
> using?
>
> Cheers,
>
> David
Ok, I am using IDL 6.0. Any workaround?
Cheers,
Juan
|
|
|
|
Re: Problems when printing ps plots from C [message #41914 is a reply to message #41905] |
Thu, 02 December 2004 04:58  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Juan I. Cicuendez writes:
> I am using callable IDL from C without any graphical window and I
> found problems when trying to output the plot in postscript format (I
> am use object graphics) to create the plot. So far, I get a plot with
> the correct axis, polylines but all the fonts are missing. I also try
> to change the IDLgrFonts from Helvetica to one of the vector fonts but
> in this case nothing is drawn. I am using a IDLgrClipboard object to
> convert the IDLgrView object into a postscript file.
>
> Has anyone bumped into a similar problem? Any ideas?
Yes, but IDL 6.1.1 cleared it up. What version are you
using?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|