summaryrefslogtreecommitdiff
path: root/glib/poppler-page.cc
diff options
context:
space:
mode:
Diffstat (limited to 'glib/poppler-page.cc')
-rw-r--r--glib/poppler-page.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc
index 65542a3c..caf3eb41 100644
--- a/glib/poppler-page.cc
+++ b/glib/poppler-page.cc
@@ -460,6 +460,8 @@ poppler_page_find_text (PopplerPage *page,
gTrue, NULL, doc->getCatalog());
matches = NULL;
+ xMin = 0;
+ yMin = 0;
while (output_dev->findText (ucs4, ucs4_len,
gFalse, gTrue, // startAtTop, stopAtBottom
gTrue, gFalse, // startAtLast, stopAtLast