From dc934b7ddc98936afcc514073373c48bba36ded3 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 10 Feb 2021 14:57:40 +0100 Subject: [PATCH] comment --- src/filters/rclpdf.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/filters/rclpdf.py b/src/filters/rclpdf.py index 9f7c22e8..cb95c11e 100755 --- a/src/filters/rclpdf.py +++ b/src/filters/rclpdf.py @@ -39,11 +39,16 @@ import rclconfig _mswindows = (sys.platform == "win32") -# Can we access the poppler-glib python3 bindings ? This would allow extracting -# text from annotations. +# Test access to the poppler-glib python3 bindings ? This allows +# extracting text from annotations. # - On Ubuntu, this comes with package gir1.2-poppler-0.18 # - On opensuse the package is named typelib-1_0-Poppler-0_18 # (actual versions may differ of course). +# +# NOTE: we are using the glib introspection bindings for the Poppler C +# API, which is not the same as the Python bindings of the Poppler C++ +# API (poppler-cpp). The interface is quite different +# (e.g. attachments are named "embeddedfiles" in the C++ interface. havepopplerglib = False try: import gi