~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to contrib/pcl3/src/pclsize.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
  if (result == NULL) {
176
176
    key.ps = -code;
177
177
     /* Actually, this is a generalization on my part: I am assuming that any
178
 
        two valid PCL Page Size codes with the same absolute value refer to the
179
 
        same media extension irrespective of sheet orientation in raster space.
 
178
        two valid PCL Page Size codes with the same absolute value refer to the
 
179
        same media extension irrespective of sheet orientation in raster space.
180
180
        I have found negative Page Size codes in HP documentation only for
181
 
        Env10 and EnvDL. */
 
181
        Env10 and EnvDL. */
182
182
    result = (const CodeEntry *)bsearch(&key, inverse_map,
183
183
      array_size(inverse_map), sizeof(CodeEntry), cmp_by_code);
184
184
  }