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 308637 - [PATCH] Impress slides support
[PATCH] Impress slides support
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-22 11:37 UTC by Bastien Nocera
Modified: 2006-07-10 21:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evince-impress-support-2.patch (139.70 KB, patch)
2005-06-22 11:39 UTC, Bastien Nocera
none Details | Review
evince-impress-support-3.patch (139.35 KB, patch)
2005-07-20 15:57 UTC, Bastien Nocera
none Details | Review
evince-impress-support-5.patch (289.47 KB, patch)
2005-09-26 09:07 UTC, Bastien Nocera
none Details | Review
evince-impress-support-6.patch (138.81 KB, patch)
2006-02-02 14:39 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2005-06-22 11:37:33 UTC
This patch implements an OO.o Impress slides renderer, using code from
imposter-ng (http://imposter.sourceforge.net/ but with the drawing backend split
from the renderer).

In the future it would be better to draw everything to a cairo surface, and push
that as a pixbuf rather than have to do the rendering in the main thread. Speed
is more than decent even with complicated slides.
Comment 1 Bastien Nocera 2005-06-22 11:39:10 UTC
Created attachment 48150 [details] [review]
evince-impress-support-2.patch

Most of the files can be updated as long as imposter-ng is checked out in the
same directory as evince, and "make regenerate-built-sources" is run inside the
impress/ subdirectory.
Comment 2 Nickolay V. Shmyrev 2005-06-22 14:50:28 UTC
Thanks for good work.

How usage of imposter is related to libpresent library from gnome-office suite?
Can libpresent handle such mime-type? How it's related to 

http://bugzilla.gnome.org/show_bug.cgi?id=304216
Comment 3 Bastien Nocera 2005-06-22 14:55:44 UTC
You would have to ask Marc that.
Comment 4 Michael Monreal 2005-06-23 10:14:08 UTC
Right now libpresent is ppt only... and in early stage, it doesn't display
pictures and annimations as far as I can tell. Perhaps it would make sense for
present and imposer to merge as a freedesktop (or even gnomeoffice, if glib/gtk
usage is disired) project to build a general purpose presentation library?
Comment 5 Marco Pesenti Gritti 2005-07-11 10:38:12 UTC
Sorry for the delay... could you please mail evince-list@gnome.org proposing the
new backend? That's how usually we decide about these...
Comment 6 Chris Lahey 2005-07-19 15:41:46 UTC
libpresent does handle images.  It doesn't currently handle things on master
slides, so backgrounds often don't work.
Comment 7 Bastien Nocera 2005-07-20 15:57:46 UTC
Created attachment 49472 [details] [review]
evince-impress-support-3.patch

Updated impress-ng checkout (better text rendering, but seems to be causing a
few crashes)
Updated to current CVS HEAD layout, and APIs.
Comment 8 Bastien Nocera 2005-09-26 09:07:15 UTC
Created attachment 52661 [details] [review]
evince-impress-support-5.patch

Updated to current CVS again.
Comment 9 Bastien Nocera 2006-02-02 14:39:27 UTC
Created attachment 58586 [details] [review]
evince-impress-support-6.patch

Updated to the current CVS again
Comment 10 Nickolay V. Shmyrev 2006-02-03 22:12:02 UTC
Thanks a lot Bastien and sorry for so long delay. I think we should just proceed and commit this patch. Unfortunately I am not sure if we are in feature freeze now. 

But anyhow interface shouldn't change much, so we'll be happy to commit it after release.
Comment 11 Kjartan Maraas 2006-05-09 11:07:16 UTC
Can this go in now?
Comment 12 Bastien Nocera 2006-05-09 16:10:17 UTC
This piece of code should really be using cairo to do the drawing (right now it's done on an offscreen GdkDrawingArea and copied to the screen), to avoid crap look at higher resolutions.
Whether it's "good enough" to go in is Nickolay's call. It's stable enough, just not that pretty.
Comment 13 Nickolay V. Shmyrev 2006-07-10 21:03:25 UTC
Applied, thanks a lot Bastien.