~ubuntu-branches/ubuntu/vivid/ghostscript/vivid-security

« back to all changes in this revision

Viewing changes to devices/gdevdjet.c

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2014-03-13 12:25:33 UTC
  • Revision ID: package-import@ubuntu.com-20140313122533-ov5fix7qzsq4fyr3
Tags: 9.10~dfsg-0ubuntu8
* debian/patches/1001_pxlcolor-support-jpeg-in-output.patch: Added JPEG
  output support to the "pxlcolor" PCL-XL output device to vastly reduce
  the size of the output when the input document contains images (Upstream
  bug #691880).
* debian/patches/020140313-5d6b18a-set-correct-portrait-landscape-orientation-on-pcl-5ce.patch:
  Set correct portrait/landscape orientation on PCL 5c/e output (Upstream
  bug #693715).
* debian/patches/020140313-6498483-ps2write-fix-a-dsc-comment.patch,
  debian/patches/020140313-095ae57-ps2write-fix-missing-beginresource-comment-for-fontfile-objects.patch:
  Fixes on DSC comments in PostScript output of the "ps2write" device
  Upstream bug #695082).

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
    char init[80];
444
444
 
445
445
    gs_sprintf(base_init, "\033&l-180u36Z\033*r0F\033&u%dD", dots_per_inch);
 
446
    if (gdev_pcl_page_orientation((gx_device *) pdev) == PAGE_ORIENTATION_LANDSCAPE)
 
447
        gs_sprintf(base_init, "\033&l0u140Z\033*r0F\033&u%dD", dots_per_inch);
446
448
    hpjet_make_init(pdev, init, base_init);
447
449
 
448
450
    return dljet_mono_print_page_copies(pdev, prn_stream, num_copies,