Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Ph. Marek" <philipp.ma...@emerion.com>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
X-Reportbug-Version: 3.48
X-Debbugs-Cc: philipp.ma...@emerion.com
Package: impose+
Version: 0.2-11.1
Severity: normal


I've tried to use impose, but the results are disappointing: the upper
pages (2nd, 4th, etc.) are cut off, for different inputs. I've attached
a screenshot to illustrate that.


I wrote a perl script to do something similar some years ago; it gives
similar debug output, so there's a bit of diagnostic possible:

  $ impose -v -pages 100 -v -v nver-tse.ps
  bboxx -evenodd -pages 100 './nver-tse.ps'               
    Page:   llx   lly   urx   ury                       
       1     87   131   508   649                       
       2     87    71   508   721                       
       3     87    71   508   720                       
       4     87    70   508   720                       
       5     87    71   508   720                       
       6     87    70   508   720                       
       7     87    70   508   720                       
       8     87    71   508   720                       
       9     87    70   508   720                       
      10     87    70   508   720        
  ...
      47     92    70   508   720                       
  Document:  87    70   509   721                       
  Odd:       87    70   508   721                       
  Even:      87    70   509   721                       
  pstops  '2:0...@0.8218(622.5,-26.7)+...@0.8218(622.5,378.9)' './nver-tse.ps' |
  fixtd -tumble> 'nver-tse.ps.imposed'
  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
  [18] [19] [20] [21] [22] [23] [24] Wrote 24 pages, 1242056 bytes             

My script finds similar or the same bboxes, but uses other scale values
(remark: the pages get first resized to fix the whole page, then psnup is
used, so the scale values have to be halved):
  $ ~/perl/ps2.pl nver-tse.ps
    found 1 L:87 T:648 R:507 B:131  H:517 W:420 scale=1.369 (1.369, 1.671)
  p...@1.36945268922194(-119.553215660718,-23.6792591732653)
    found 2 L:87 T:720 R:507 B:70  H:649 W:420 scale=1.330 (1.369, 1.330)
  p...@1.32962352774742(-107.699938096791,-94.3926308225976)
    found 3 L:87 T:719 R:507 B:70  H:648 W:420 scale=1.333 (1.369, 1.333)
  p...@1.33269985050115(-108.615460948047,-94.6110251213783)
    found 4 L:87 T:719 R:507 B:70  H:648 W:420 scale=1.333 (1.369, 1.333)
  p...@1.3325106766107(-108.621795564367,-94.4749523387612)
    found 5 L:87 T:719 R:507 B:70  H:648 W:420 scale=1.333 (1.369, 1.333)
  p...@1.33269985050115(-108.67810317182,-94.6110251213783)
    found 6 L:86 T:719 R:507 B:70  H:648 W:420 scale=1.333 (1.369, 1.333)
  p...@1.3325106766107(-108.151414631736,-94.4749523387612)
    found 7 L:87 T:719 R:507 B:70  H:648 W:420 scale=1.332 (1.371, 1.332)
  p...@1.33229295440047(-108.223922640262,-94.4595158429825)
    found 8 L:87 T:719 R:507 B:70  H:648 W:420 scale=1.333 (1.369, 1.333)
  p...@1.33269985050115(-108.67810317182,-94.6110251213783)
  ...
    found 46 L:92 T:719 R:508 B:70  H:648 W:416 scale=1.333 (1.382, 1.333)
  ps...@1.3325106766107(-112.483411505185,-94.4749523387612)
    found 47 L:92 T:719 R:507 B:70  H:648 W:415 scale=1.332 (1.388, 1.332)
  ps...@1.33229295440047(-111.288186443185,-94.4595158429825)
  rescaling and writing ...
  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
  [18] [19] [20] [21] [22] [23] [24] Wrote 24 pages, 1255666 bytes

Hope that helps.                                                             


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages impose+ depends on:
ii  libfile-homedir-perl          0.82-1     Get the home directory for yoursel
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-modules [libfile-temp-pe 5.10.0-19  Core Perl modules
ii  psutils                       1.17-26    A collection of PostScript documen

impose+ recommends no packages.

Versions of packages impose+ suggests:
ii  ghostscript-x [gs]         8.63.dfsg.1-2 The GPL Ghostscript PostScript/PDF
ii  gs                         8.63.dfsg.1-2 Transitional package

-- no debconf information

<<inline: screenshot.png>>

Reply via email to