Package: flpsed
Version: 0.5.2-1
Severity: grave
Tags: lenny, squeeze

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


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages flpsed depends on:
ii  ghostscript-x               8.71~dfsg2-6 The GPL Ghostscript PostScript/PDF
ii  libc6                       2.11.2-7     Embedded GNU C Library: Shared lib
ii  libfltk1.1                  1.1.10-2+b1  Fast Light Toolkit - shared librar
ii  libgcc1                     1:4.4.5-8    GCC support library
ii  libstdc++6                  4.4.5-8      The GNU Standard C++ Library v3
ii  libx11-6                    2:1.3.3-4    X11 client-side library

Versions of packages flpsed recommends:
ii  poppler-utils [xpdf-utils]    0.12.4-1.2 PDF utilitites (based on libpopple

flpsed suggests no packages.

-- no debconf information

Attachment: example.ps
Description: PostScript document

Reply via email to