glib/poppler-page.cc |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3210970dc1d6faf51bce59bb7ecb6b881f9c0fe6
Author: Carlos Garcia Campos <[email protected]>
Date:   Fri Apr 10 13:09:37 2009 +0200

    [glib] Print annotations with the print flag enabled

diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc
index e17d4de..f1dd133 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -522,6 +522,8 @@ poppler_page_set_selection_alpha (PopplerPage           
*page,
 static GBool
 poppler_print_annot_cb (Annot *annot, void *user_data)
 {
+  if (annot->getFlags () & Annot::flagPrint)
+    return gTrue;
   return (annot->getType() == Annot::typeWidget);
 }
 
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to