Package: xfig
Version: 1:3.2.5-alpha5-9
Followup-For: Bug #407302

OK, I got some info from a PostScript expert.

The problem is caused by the fact that the output from xfig is a bit
messy. In the particular example I posted, the problem is:
- xfig doesn't put DSC comments around the PostScript it added to the
  EPS file. The CUPS driver tries to insert its features at the right
  position, but gets it wrong because of the fact that xfig didn't
  indicate anything. At the part where the features are being set,
  'setpagedevice' is used, which resets the graphics state, which was
  just changed by xfig. So, roughly speaking, xfig should put more DSC
  comments around its output (see the DSC specs).

In general:
- Definitions and actions in the PostScript are mixed. Definitions
  should be around %%BeginProlog and %%EndProlog (after %%EndComments).
  The actions should be merged with the part that is behind %%BeginPageSetup.

As I said, I'm not a PS expert myself, I got this info from a colleague.

The short version: xfig outputs messy postscript which confuses PPD's
that want to add setting info.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xfig depends on:
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libx11-6                  2:1.0.3-4      X11 client-side library
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxpm4                   1:3.5.5-2      X11 pixmap library
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  xaw3dg                    1.5+E-14       Xaw3d widget set

Versions of packages xfig recommends:
ii  transfig                1:3.2.5-alpha7-5 Utilities for converting XFig figu
ii  xfig-libs               1:3.2.5-alpha5-9 XFig image libraries and examples

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to