PS fonts [message #86795] |
Wed, 04 December 2013 07:13  |
greg.addr
Messages: 160 Registered: May 2007
|
Senior Member |
|
|
This question is well behind the times, I know. Does anyone remember if there is a way, in direct graphics, to produce an eps file which renders the text in a form which could be later edited as text in some other application (e.g. Illustrator) rather than a set of intricate polygons?
At the moment, I have:
set_plot,'PS'
!p.font=1
device,/color,/encapsulated,filename="test.eps",/helvetica,/isolatin1
I've tried !p.font=0 and some permutations with device,/TT_FONT but no luck yet.
cheers,
Greg
|
|
|
Re: PS fonts [message #86796 is a reply to message #86795] |
Wed, 04 December 2013 07:31   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
greg.addr@googlemail.com writes:
> This question is well behind the times, I know. Does anyone remember if there is a way, in direct graphics, to produce an eps file which renders the text in a form which could be later edited as text in some other application (e.g. Illustrator) rather than a set of intricate polygons?
>
> At the moment, I have:
>
> set_plot,'PS'
> !p.font=1
> device,/color,/encapsulated,filename="test.eps",/helvetica,/isolatin1
>
> I've tried !p.font=0 and some permutations with device,/TT_FONT but no luck yet.
I just did this:
IDL> cgPS_Open, 'idl.ps'
IDL> cgPlot, cgDemoData(1), XTitle='This is the X Title', $
YTitle='This is the Y title'
IDL> cgPS_Close
When I opened the idl.ps file in Illustrator I find I an do anything I
like to the text. What kind of problem are you having?
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.")
|
|
|
|
Re: PS fonts [message #86821 is a reply to message #86819] |
Thu, 05 December 2013 04:48  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
greg.addr@googlemail.com writes:
> Thanks, David. Your example works for me, too.
>
> The problem with my output is that, although it appears as it should, the text is being rendered as very intricate polygons such that Illustrator no longer recognises them as text. This is also evident from the file size (41 MB) which is way more than I would expect.
Well, True-Type fonts are rendered as polygons. But, I don't think
hardware fonts are. Your first message indicates you have tried both, so
I'm not sure what is going on. Still, I would expect Illustrator to know
what a True-Type font is!
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.")
|
|
|