[poppler] glib/poppler-page.cc
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Fri Apr 10 04:10:50 PDT 2009
glib/poppler-page.cc | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3210970dc1d6faf51bce59bb7ecb6b881f9c0fe6
Author: Carlos Garcia Campos <carlosgc at gnome.org>
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);
}
More information about the poppler
mailing list