Fwd: abi_widget_render_page_to_image in pyabiword

From: Tomeu Vizoso <tomeu_at_sugarlabs.org>
Date: Mon Feb 16 2009 - 17:25:06 CET

Sorry, this one was sent from the wrong email address and got stuck in
the moderation queue.

---------- Forwarded message ----------
From: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat, Jan 24, 2009 at 11:27
Subject: abi_widget_render_page_to_image in pyabiword
To: abiword-dev <abiword-dev@abisource.com>

Hi,

got this to work in pyabiword. Thanks a lot, Martin.

Current issues:

- was getting a crash because the cairo context was NULL. Attached is
a patch that makes it work, though I'm not sure how correct it is.

- seems like the returned pixbuf includes the margins, though I would
like it to be closer to what the user sees on screen.

- needs to be exposed in pyabiword, patch attached.

- in trunk only, need to backport to 2.6

Suggestions on how to move forward?

Thanks,

Tomeu

Received on Mon Feb 16 17:30:06 2009

This archive was generated by hypermail 2.1.8 : Mon Feb 16 2009 - 17:30:06 CET