#608232 flpsed does not save text on certain input documents

Package:
flpsed
Source:
flpsed
Description:
Postscript and PDF annotator
Submitter:
Date:
2010-12-29 13:03:04 UTC
Severity:
important
#608232#5
Date:
2010-12-28 23:42:41 UTC
From:
To:
flpsed does not save text on postscript produced by xsane in squeeze.
The saved document only has

/PSEditWidgetPageCount 1 def % PSEditWidget

added in line 12 compared to the original. Re-opening the saved
document in flpsed another time,
adding text and saving again as postscript yields a document with no
changes. PDF export has the
same result (i.e. the added text is not saved).

Running ps2ps or eps2eps on the postscript document yields a several
times bigger postscript
document that is handled correctly by flpsed.

I stripped the image out of a small sample postscript file generated
by xsane and attached the
result below and as an attachment.

Cheers,
Karsten


=== sample postscript  ===
%!PS-Adobe-3.0
%%Creator: XSane version 0.997 (sane 1.0) - by Oliver Rauch
%%DocumentData: Clean7Bit
%%LanguageLevel: 3
%%BoundingBox: 0 0 69 23
%%Pages: 1
%%EndComments
%%BeginDocument: xsane.ps

20 dict begin

%%Page: 1 1
%%PageBoundingBox: 0 0 70 24
/DeviceGray setcolorspace
0 rotate
0 0 translate
69.120003 23.760000 scale
<<
 /ImageType 1
 /Width 96
 /Height 33
 /BitsPerComponent 8
 /Decode [0 1]
 /ImageMatrix [96 0 0 -33 0 33]
 /DataSource currentfile /ASCII85Decode filter /FlateDecode filter

showpage
%%PageTrailer
end
%%EOF
%%EndDocument

=== sample postscript