From: SourceForge.net <no...@so...> - 2004-04-30 21:32:30
|
Bugs item #945621, was opened at 2004-04-30 14:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=945621&group_id=45430 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: '%%BoundingBox: (atend)' not recognized Initial Comment: I have a postscript file which has the following lines in the header: %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: (atend) %%Title: GMT v3.4.4 Document from /sw/bin/grdview %%Creator: GMT %%For: boyle %%DocumentNeededResources: font Helvetica %%CreationDate: Fri Apr 30 13:43:34 2004 %%LanguageLevel: 1 %%DocumentData: Clean7Bit %%EndComments at the end of the file, there occurs the lines: %%Trailer %%BoundingBox: 122 36 618 666 % Reset translations and scale and call showpage S -2325 0 T 4.16667 4.16667 scale 0 A showpage end The bounding box is at the end because the file is built sequentially and the final bounds are not known until the end. In any case this is legal postscript, but Pyx cannot find the bounding information since epsfile.py quits the search after finding the %%EndComments. I extended the search in epsfile.py until the showpage line and this seems to work. A better fix would key off the (atend) syntax to extend the search. Jim boyle bo...@ll... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=945621&group_id=45430 |