~ubuntu-branches/ubuntu/quantal/gutenprint/quantal

« back to all changes in this revision

Viewing changes to src/main/print-weave.c

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-06-19 17:12:48 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120619171248-cbil10m2dqnc71rr
Tags: 5.2.8-0ubuntu1
* New upstream release
   - Added support for Canon PIXMA DS700, DS810, 50i, 80i, 450i, 455i, 470PD,
     475PD, 550i, 560i, 850i, 860i, 865R, 900PD, 950i, 960i, 990i, 6100i,
     6500i, 9100i, 9900i, i450X, i455X, i475D, i550X, i560X, i905D, i965,
     i990, i9950, iP90, iP90v, iP100, iP6320D, MP260, MX320, MX370, MX430,
     MX510, MX710, MX890, E500, E600, PIXUS iP2700, iP3100, iP4100,
     EPSON Stylus NX420, SX420, TX420
   - CD printing on many Canon printers.
   - Non-working Canon's removed.
   - More Japanese models supported.
   - Printer modes for most printer models are now determined by the
     media, based on information from the corresponding Windows
     driver. If an incompatible mode is selected by the user, a
     suitable mode is substituted, based on the other active
     parameters and quality setting. Modes are also substituted
     based on cartridge selection and duplex selection. Inktype is
     then automatically adjusted.
   - Added support for 8-bit inks to Canon backend, and modes using
     them.
   - Adjusted margins and page sizes of Canon printers.
   - Added borderless functionality to most Canon printers.
   - A problem whereby printing did not work at all on some Linux
     distributions has been fixed.
   - Printing on the Epson Stylus NX200, SX200, and SX205 is believed
     to be corrected.
* debian/patches/0002-genppd-don-t-write-color-profile-information-with-br.patch,
  debian/patches/0003-upgrade-getopt.patch,
  debian/patches/0004-no-data-dumper-needed.patch,
  debian/patches/0005-use-dnointerpolate-in-ghostscript-command-lines.patch:
  Removed, change applied upstream.
* debian/rules: Touch ppd-updater file(s) so that they have the time stamp
  of the build of this package The time stamp of the ppd-updater files tells
  CUPS' trigger script whether they come from different package versions or
  not (LP: #932882).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * "$Id: print-weave.c,v 1.77 2011/12/22 03:07:46 rlk Exp $"
 
2
 * "$Id: print-weave.c,v 1.81 2012/05/26 16:03:19 rlk Exp $"
3
3
 *
4
4
 *   Softweave calculator for Gutenprint.
5
5
 *
1473
1473
}
1474
1474
 
1475
1475
static void
1476
 
add_to_row(stp_vars_t *v, stpi_softweave_t *sw, int row, unsigned char *buf,
1477
 
           size_t nbytes, int color, int setactive, int h_pass)
 
1476
add_to_row_1(stp_vars_t *v, stpi_softweave_t *sw, int row, unsigned char *buf,
 
1477
             size_t nbytes, int color, int setactive, int h_pass)
1478
1478
{
1479
1479
  const stp_linebufs_t *bufs =
1480
1480
    stpi_get_linebases(v, sw, sw->lineno, h_pass, sw->head_offset[color]);
1535
1535
}
1536
1536
 
1537
1537
static void
 
1538
add_to_row(stp_vars_t *v, stpi_softweave_t *sw, int row, unsigned char *buf,
 
1539
           size_t nbytes, int color, int setactive, int h_pass)
 
1540
{
 
1541
  if (!sw->head_offset)
 
1542
    {
 
1543
      stp_eprintf(v, "ERROR: %s\n", _("Fatal error!"));
 
1544
      stp_eprintf(v, "ERROR: add_to_row: sw->head_offset == NULL\n");
 
1545
      return;
 
1546
    }
 
1547
  add_to_row_1(v, sw, row, buf, nbytes, color, setactive, h_pass);
 
1548
}
 
1549
 
 
1550
static void
1538
1551
stpi_flush_passes(stp_vars_t *v, int flushall)
1539
1552
{
1540
1553
  stpi_softweave_t *sw = get_sw(v);