~ubuntu-branches/ubuntu/jaunty/cups/jaunty

« back to all changes in this revision

Viewing changes to filter/interpret.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt, Till Kamppeter, Martin Pitt
  • Date: 2009-02-15 18:39:03 UTC
  • mfrom: (6.1.30 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090215183903-i0nhvqyqj4vyn52a
Tags: 1.3.9-13
[ Till Kamppeter ]
* debian/local/filters/pdf-filters/filter/imagetopdf.c: Added support for
  the new "fit-to-page" option (new, more intuitive name for "fitplot").
* debian/filters/pstopdf: Only apply paper size if the "fitplot" or the
  "fit-to-page" option is set.
* debian/local/filters/cpdftocps: Only the last digit of the number of
  copies was used (LP: #309314).
* debian/local/filters/pdf-filters/pdftopdf/pdftopdf.cxx: Do not preceed the
  PDF output with a newline (LP: #303691). Only impose the page size from
  the PPD file to all pages if the "fitplot" or the "fit-to-page" option is 
  set. This prevented from automatic paper tray switching to the correct paper
  sizes when a multiple-page-size document is printed (partial fix for
  LP: #310575).
* debian/patches/pdftops-cups-1.4.dpatch: Updated from CUPS 1.4 SVN. Contains
  fixes for multiple-page-size document printing (partial fix for
  LP: #310575).
* debian/patches/pdftops-dont_fail_on_cancel.dpatch: Removed, should be
  fixed in the new upstream version of pdftops.

[ Martin Pitt ]
* debian/patches/pdftops-cups-1.4.dpatch: Add definition of
  HAVE_PDFTOPS and CUPS_PDFTOPS, so that the filter actually gets
  again built with pdftops support. (Fixes Till's change from above).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * "$Id: interpret.c 7721 2008-07-11 22:48:49Z mike $"
 
2
 * "$Id: interpret.c 7853 2008-08-21 04:23:42Z mike $"
3
3
 *
4
4
 *   PPD command interpreter for the Common UNIX Printing System (CUPS).
5
5
 *
249
249
  {
250
250
    float sc = atof(val);
251
251
 
252
 
    if (sc >= 0.5 && sc <= 2.0)
 
252
    if (sc >= 0.1 && sc <= 2.0)
253
253
      h->cupsBorderlessScalingFactor = sc;
254
254
  }
255
255
 
319
319
      (h->cupsBitsPerColor != 1 && h->cupsBitsPerColor != 2 &&
320
320
       h->cupsBitsPerColor != 4 && h->cupsBitsPerColor != 8 &&
321
321
       h->cupsBitsPerColor != 16) ||
322
 
      h->cupsBorderlessScalingFactor < 0.5 ||
 
322
      h->cupsBorderlessScalingFactor < 0.1 ||
323
323
      h->cupsBorderlessScalingFactor > 2.0)
324
324
  {
325
325
    _cupsRasterAddError("Page header uses unsupported values.\n");
1641
1641
 
1642
1642
 
1643
1643
/*
1644
 
 * End of "$Id: interpret.c 7721 2008-07-11 22:48:49Z mike $".
 
1644
 * End of "$Id: interpret.c 7853 2008-08-21 04:23:42Z mike $".
1645
1645
 */