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

Home » Public Forums » archive » Postscript and Object Graphics, special characters
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
Postscript and Object Graphics, special characters [message #49781] Mon, 14 August 2006 10:05
uwp is currently offline  uwp
Messages: 1
Registered: August 2006
Junior Member
Hello,

at the moment I'm struggeling with a problem, which is probably very
easy to solve, but - I didn't find the solution yet...

I want to export object graphics with special characters in it into
EPS, PS or PDF. I run IDL 6.3 in Windows XP. For exporting, I use:

clipboard = Obj_New('IDLgrClipboard', Dimensions=[8,6], $
Resolution= [2.54/300, 2.54/300], Units=2, Quality=2)
clipboard->Draw,View, Filename=filename, /PostScript, /Vector

First problem I ran into: the line thickness which was too thick
I solved this by patching the EPS file: the line "4.16667 setlinewidth"
needed to be changed to "1.0 setlinewidth". A small IDL routine does
this job now every time after eps export.

Then, I had problems when converting EPS to PDF by using the Acrobat
distiller. I need PDF for my PDFlatex. But obviously, Acrobat doesn't
understand the EPSF comment in the header; the PDF page remained white.
So my little output fixing routine now also changes the first EPS line
from "%!PS-Adobe-3.0 EPSF-3.0" to "%!PS-Adobe-3.0".

Then came up my third problem. And this is major, because yet
unresolved: I cannot export views with special characters (like the
german umlaute (öäü) or µ for micro) in it correctly. Within IDL,
all characters appear on the screen as they should, and also when I'm
exporting to EMF, everything looks fine (except for the thick lines
again in EMF...).
But the eps file does not show the special characters (neither in
Ghostscript, nor in Acrobat). Word does import this eps file and shows
the characters on the screen indeed, but not correctly in the printout
(PS printer, PDF output) any more.

I assume there must a switch to ISOLATIN encoding somewhere, like it
was in direct graphics output, but where is it?

Any help is highly appreciated!

Thanks,
Uwe.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: double precision?
Next Topic: functions to access ETOPO2 or other bathymetric data sets?

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

Current Time: Sun Oct 12 00:02:00 PDT 2025

Total time taken to generate the page: 0.01152 seconds