Code

more on BUG 322116: PDF export does not use the highest quality for rasterized filters
authortheadib <theadib@users.sourceforge.net>
Sat, 2 May 2009 23:29:53 +0000 (23:29 +0000)
committertheadib <theadib@users.sourceforge.net>
Sat, 2 May 2009 23:29:53 +0000 (23:29 +0000)
src/helper/pixbuf-ops.cpp

index 9d795c575df5a0570d27ea401e134040ff379b09..49a8cc28c63b7e5f320f63d56a55f7ef72e83430 100644 (file)
@@ -99,8 +99,9 @@ sp_generate_internal_bitmap(SPDocument *doc, gchar const */*filename*/,
 {
 
 
-     /* Create new arena */
+     /* Create new arena for offscreen rendering*/
      NRArena *arena = NRArena::create();
+     nr_arena_set_renderoffscreen(arena);
      unsigned dkey = sp_item_display_key_new(1);
 
      sp_document_ensure_up_to_date (doc);