← Back to team overview

desktop-packages team mailing list archive

[Bug 657094] Re: Evince when printing a pdf creates strange gapping.

 

Launchpad has imported 9 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=85662.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-10-30T20:36:40+00:00 Alex Korobkin wrote:

This patch [1] breaks PostScript printing with pdftocairo to Ricoh
printers: only the last line of the sequence is printed.

For example, if you have this in your .ps file, 
(aaa)
(bbb)
(cc)
only "cc" will appear on the page. 

PostScript viewers also fail to parse it: neither GhostScript nor Evince
are able display these lines.

Please revert or fix the patch?

1.
http://cgit.freedesktop.org/cairo/commit/?id=ab2a7b61d59258b71e1c3256edf2f42ea6cc1eb2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/9

------------------------------------------------------------------------
On 2014-10-30T21:31:09+00:00 B-harrington wrote:

I've reverted the problematic patch in trunk.

I'm hopeful that a better fix can be found for the original issue, and
am CCing Adrian.

This (or a better fix) is a candidate for 1.14.2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/10

------------------------------------------------------------------------
On 2014-10-30T21:47:58+00:00 Adrian Johnson wrote:

Created attachment 108707
patch

Please attach a pdf for reproducing the problem and your ps output. It
works fine for me with ghostscript 9.06.

Please try the attached patch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/11

------------------------------------------------------------------------
On 2014-10-30T21:52:16+00:00 Adrian Johnson wrote:

(In reply to Bryce Harrington from comment #1)
> I've reverted the problematic patch in trunk.
> 
> I'm hopeful that a better fix can be found for the original issue, and am
> CCing Adrian.
> 
> This (or a better fix) is a candidate for 1.14.2

I'm sure we can find a better fix since reverting it breaks printing on
my printer. I'll work on analyzing this problem but don't expect an
immediate response. I've been sleeping for the last 8 hours.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/12

------------------------------------------------------------------------
On 2014-10-31T08:58:15+00:00 Adrian Johnson wrote:

I've pushed a fix for this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/13

------------------------------------------------------------------------
On 2014-10-31T15:00:35+00:00 Alex Korobkin wrote:

Created attachment 108728
cafe2.pdf

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/14

------------------------------------------------------------------------
On 2014-10-31T15:02:34+00:00 Alex Korobkin wrote:

Created attachment 108729
cafe2.ps

Here is a resulting file with broken lines.

I tested the suggested patch. Looks like it makes one long line (aaabbbcccc) instead of 
(aaa)
(bbb)
(cccc)

This works with my Evince, GS, and my printers, though I'm not sure what
is the limit of length for such a line.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/15

------------------------------------------------------------------------
On 2015-03-03T19:58:58+00:00 Adrian Johnson wrote:

*** Bug 89406 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/21

------------------------------------------------------------------------
On 2015-03-03T20:00:35+00:00 Adrian Johnson wrote:

*** Bug 89357 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/657094/comments/22


** Changed in: cairo
       Status: Unknown => Fix Released

** Changed in: cairo
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cairo in Ubuntu.
https://bugs.launchpad.net/bugs/657094

Title:
  Evince when printing a pdf creates strange gapping.

Status in Cairo Graphics Library:
  Fix Released
Status in cairo package in Ubuntu:
  Fix Committed

Bug description:
  When trying to print a pdf file with Evince Document Viewer 2.30.3 in Ubuntu 10.04 it creates strange gapping that seems to be due to Courier font. 
  These gaps show up when I print this file to pdf. Example file is attached.
  They do not show when I print to pdf from within Acrobat Reader.
  I never had this problem before, but I recently upgraded to Ubuntu 10.04 from 8.04, and I can't recall which version
  of Evince I was using before.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo/+bug/657094/+subscriptions