Article View: adobe.postscript.programming
Article #649Re: manipulation with EPS
From: Odysseus
Date: Fri, 26 Mar 2004 00:04
Date: Fri, 26 Mar 2004 00:04
51 lines
3057 bytes
3057 bytes
In article <2cd0da75.-1@webx.la2eafNXanI>, Vahan_Babakhanian@adobeforums.com wrote: > 1. > Freehand MX > I am doing the following steps: > create simple "empty" object with only 1 text line > let's say "TEST 1" > export as t1.eps > close file in FH MX > open eps file in Text editor > edit text line to "TEST 2" > save > open t1.eps file in FH MX > it brings old text line "TEST 1" ignoring the results of recent editing > > why? > I believe that Aandi has posted the correct answer; while I haven't used the more recent versions of FreeHand myself, I'm pretty certain that the application still doesn't include any kind of PostScript parser. AFAIK a 'native' FHMX database uses some variety of XML to describe the objects and pages in a document. In earlier versions the "Editable EPS" format has indeed comprised an EPSF page description with the preview and native code appended (or maybe prepended) to it. For the same reason an altered EPSF that had originally been saved with a PICT, TIFF, or WMF preview will look unchanged on-screen e.g. in a layout program, but when printed or otherwise interpreted the changes should be apparent. But you don't say what happens when you print the altered EPS, or open it in Illustrator or the like -- I would expect your change to show up there, because in these circumstances the native FH data will be ignored but the PostScript will be executed, the converse of the scenario you describe. > 2. > I need to change some Text lines in given EPS file (created either by FH 8, > 10, MX or by Illustrator) via the program/script. > I assume that if I will simply replace old text value with new and save the > file it should work. It doesn't. > > why? > See above. But I would expect an Illustrator v8 or earlier file to show the effects of altered PS code, because its native format was in fact a 'dialect' of PS. I'm not sure whether EPSFs saved out of AI v9 and later contain native code, but if they do it will be in a 'dialect' of PDF and again will not be affected by changes to the included PS. -- Odysseus
Technical Details
Message-ID:
<odysseus1479-at-FAFFEE.17042525032004@news.telus.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps84.POSTED!not-for-mailReferences:
<2cd0da75.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c61a,cf7cbd874c892ca0 X-Google-Attributes: gid10c61a,public X-Google-ArrivalTime: 2004-03-25 16:05:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps84.POSTED!not-for-mail From: Odysseus <odysseus1479-at@yahoo-dot.ca> Newsgroups: adobe.postscript.programming Subject: Re: manipulation with EPS References: <2cd0da75.-1@webx.la2eafNXanI> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Message-ID: <odysseus1479-at-FAFFEE.17042525032004@news.telus.net> Lines: 51 Date: Fri, 26 Mar 2004 00:04:25 GMT NNTP-Posting-Host: 198.166.248.239 X-Trace: edtnps84 1080259465 198.166.248.239 (Thu, 25 Mar 2004 17:04:25 MST) NNTP-Posting-Date: Thu, 25 Mar 2004 17:04:25 MST