After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667629 - Print djvu document on Windows
Print djvu document on Windows
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: backends
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-10 15:09 UTC by Hib Eris
Modified: 2018-05-22 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-Use-cairo-for-printing-djvu-documents.patch (3.49 KB, patch)
2012-01-10 15:31 UTC, Hib Eris
none Details | Review
patches.txt (8.95 KB, text/plain)
2012-01-11 13:59 UTC, Hib Eris
  Details

Description Hib Eris 2012-01-10 15:09:33 UTC
Currently, printing djvu documents on Windows is not enabled, because on windows gtk-unix-print is not available.

Evince uses two different methods for printing (see libview/ev-print-operation.c:ev_print_operation_new()), EV_TYPE_PRINT_OPERATION_PRINT and EV_TYPE_PRINT_OPERATION_EXPORT, depending on the functionality available in the backend.

For printing without gtk-unix-print, only the EV_TYPE_PRINT_OPERATION_PRINT works, but unfortunately, the djvu backend does not support this.

To get printing djvu documents on Windows working all that is needed is to implement EV_TYPE_PRINT_OPERATION_PRINT for the djvu backend.
Comment 1 Hib Eris 2012-01-10 15:31:49 UTC
Created attachment 204948 [details] [review]
0001-Use-cairo-for-printing-djvu-documents.patch

This patch is only a starting point for fixing this bug.

What we really need to fix this properly is a cairo backend for djvulibre.
Comment 2 Hib Eris 2012-01-11 13:59:35 UTC
Created attachment 205021 [details]
patches.txt

Improvement of the previous patch.
Comment 3 Carlos Garcia Campos 2012-01-12 16:03:46 UTC
I have a local branch to handle different document dpi that would remove the SCALE_FACTOR hack in djvu backend. I just need to find to time to finish it.
Comment 4 GNOME Infrastructure Team 2018-05-22 14:27:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/263.