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

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 2012-04-03T10:00:25+00:00 Till Kamppeter wrote:

For printing on Dabian and Ubuntu GTK/GNOME-based applications (like
evince) generate PDF with Cairo and send it to CUPS. CUPS calls
Ghostscript to convert this PDF into the printer's native data format.

Problem is that the PDF generated by Cairo renders very slowly with
Ghostscript in the printing-typical resolutions of 600dpi and more.

This is caused by pointless use of transparency also if only opaque
objects are drawn and in addition, the bounding boxes of the
transparency groups are always the entire page. Since Ghostscript has to
allocate memory to hold the raster data for each transparency the
overall memory consumption can get multiples of the memory needed for th
final page's raster data, making the machine swapping to the death.

Can this be improved? PDF-based printing got standard now.

Sample bug reports:

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/968785
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/668800 (comment #36)
http://bugs.ghostscript.com/show_bug.cgi?id=692959

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1159452/comments/0

------------------------------------------------------------------------
On 2012-04-03T15:57:45+00:00 Adrian Johnson wrote:

The page sized bounding boxes problem has been fixed in 1.12.0. The use
of transparency groups for opaque objects is something that can be
improved.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1159452/comments/1

------------------------------------------------------------------------
On 2012-04-03T16:15:21+00:00 Till Kamppeter wrote:

Can you give me a patch for 1.10.2 which I could apply to the Ubuntu
Precise (12.04) package?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1159452/comments/2

------------------------------------------------------------------------
On 2012-04-03T16:30:50+00:00 Adrian Johnson wrote:

There are too many changes.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1159452/comments/3

------------------------------------------------------------------------
On 2013-03-07T10:10:06+00:00 Till Kamppeter wrote:

To make printing also working well on mobile and generally low-
performance devices it gets very important to completely do away with
transparency in PDF output, at least if the document does not actually
contain any transparent graphical elements.

We should perhaps even make one output mode optimized for printing with
no transparency at all. This would allow fast print rendering,
especially also on mobile. Ghostscript developers suggest PDF/X-1 output
here.

Another mode could use transparency only where it is actually needed,
for getting small, efficient PDF files for archiving and web download.

We should raise priority for this as slow printing is a very common
problem under Linux (and mostly caused by the transparency abuse in
Cairo output) and Linux gets more and more used on mobile battery-driven
devices.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1159452/comments/4

------------------------------------------------------------------------
On 2013-03-25T10:48:17+00:00 Till Kamppeter wrote:

More Ubuntu bug reports showing this problem:

https://bugs.launchpad.net/bugs/980616
https://bugs.launchpad.net/bugs/1159452

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


** Changed in: libcairo
       Status: Unknown => Confirmed

** Changed in: libcairo
   Importance: Unknown => High

** Bug watch added: Ghostscript (AFPL) Bugzilla #692959
   http://bugs.ghostscript.com/show_bug.cgi?id=692959

-- 
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/1159452

Title:
  unable to print entire pdf for some files in evince

Status in libcairo  -  cairo vector graphics library:
  Confirmed
Status in “cairo” package in Ubuntu:
  Incomplete

Bug description:
  Pdfs from the web (varying size , from 100kb to 60-80 MB), print
  absolutely fine.

  However printing of generated pdfs does not work-- only prints first 2
  pages, and then one blank page for the rest.

  If it makes any difference the pdf was exported from gummi (latex
  editor), it shows up fine in evince but prints only 2 pages.

  The printer is an hp8600 n911a

  prints all other files ok.
  
***********************************UPDATE*******************************************************
  installing okular and setting that as default fixes this problem, however
  this is a major bug as the default document viewer is evince in ubuntu
  
********************************************UPDATE____END*****************************
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: evince 3.4.0-0ubuntu1.6
  ProcVersionSignature: Ubuntu 3.5.0-26.42~precise1-generic 3.5.7.6
  Uname: Linux 3.5.0-26-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Date: Sun Mar 24 15:57:37 2013
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 
(20130214)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to