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

Home » Public Forums » archive » PS fonts
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
PS fonts [message #86795] Wed, 04 December 2013 07:13 Go to next message
greg.addr is currently offline  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 Go to previous messageGo to next message
David Fanning is currently offline  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 #86819 is a reply to message #86796] Thu, 05 December 2013 03:22 Go to previous messageGo to next message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
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.

I'll see if I can remodel my code on yours.

cheers,
Greg
Re: PS fonts [message #86821 is a reply to message #86819] Thu, 05 December 2013 04:48 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RETURN
Next Topic: Reading ERDAS IMAGINE

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

Current Time: Wed Oct 08 11:37:43 PDT 2025

Total time taken to generate the page: 0.00638 seconds