[dots] Fix pypoppler backend. Bump version to 0.0.2
- From: Fernando Herrera de las Heras <fherrera src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dots] Fix pypoppler backend. Bump version to 0.0.2
- Date: Tue, 20 Jul 2010 20:15:06 +0000 (UTC)
commit 3a51d31bea32ebf78e8b7345f76bcc40aa79c323
Author: Fernando Herrera <fherrera onirica com>
Date: Tue Jul 20 22:11:40 2010 +0200
Fix pypoppler backend. Bump version to 0.0.2
configure.ac | 2 +-
dots/pdfdocument_pypoppler.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1c2125b..8a1a96e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(dots, 0.0.1, eitan ascender com)
+AC_INIT(dots, 0.0.2, fherrera onirica com)
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
GNOME_DOC_INIT
diff --git a/dots/pdfdocument_pypoppler.py b/dots/pdfdocument_pypoppler.py
index ab6dbbf..3bf6994 100644
--- a/dots/pdfdocument_pypoppler.py
+++ b/dots/pdfdocument_pypoppler.py
@@ -37,7 +37,6 @@ class PdfDocument(Document):
# Currently we are getting the layout from the pdf here
# we should collapse it
text += page.get_text(poppler.SELECTION_GLYPH,r)
- print text
return text
@@ -46,7 +45,7 @@ class PdfDocument(Document):
# FIXME: Check if poppler gives us always UTF-8 strings
config['outputFormat']['inputTextEncoding'] = "UTF8"
self.translator = Translator(config)
- text = self._get_text(config.input_file)
+ text = self._get_text(self.input_file)
self.braille_text = self.translator.translate_string (text)
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]