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

« back to all changes in this revision

Viewing changes to debian/patches/020140313-6498483-ps2write-fix-a-dsc-comment.patch

  • 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:
 
1
--- a/devices/vector/gdevpdtd.c
 
2
+++ b/devices/vector/gdevpdtd.c
 
3
@@ -748,7 +748,7 @@
 
4
     {  const cos_object_t *pco = (const cos_object_t *)pdf_get_FontFile_object(pfd->base_font);
 
5
         if (pco != NULL) {
 
6
             if (pdev->is_ps2write)
 
7
-                pprintld1(s, "%%BeginResource: file (PDF FontFile obj_%ld)\n", pco->id);
 
8
+                pprintld1(s, "%%%%BeginResource: file (PDF FontFile obj_%ld)\n", pco->id);
 
9
             code = COS_WRITE_OBJECT(pco, pdev, resourceNone);
 
10
             if (code < 0)
 
11
                 return code;