From 438b4953be580346c19eccba617d11f79e80df41 Mon Sep 17 00:00:00 2001 From: "yusuke.shinyama.dummy" Date: Mon, 18 Oct 2010 15:04:49 +0000 Subject: [PATCH] documentation bit and code cleanup git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@263 1aa58f4a-7d42-0410-adbc-911cccaed67c --- docs/index.html | 4 ++-- pdfminer/layout.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 8027b8a..3615953 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,7 +9,7 @@
-Last Modified: Sun Oct 17 09:20:32 UTC 2010 +Last Modified: Sun Oct 17 09:25:27 UTC 2010
@@ -33,7 +33,7 @@ Python PDF parser and analyzer
  • Changes
  • TODO diff --git a/pdfminer/layout.py b/pdfminer/layout.py index bc93ff0..84e13f2 100644 --- a/pdfminer/layout.py +++ b/pdfminer/layout.py @@ -599,6 +599,7 @@ class LTAnalyzer(LTContainer): (max(obj1.y1,obj2.y1) - min(obj1.y0,obj2.y0)) - (obj1.width*obj1.height + obj2.width*obj2.height)) textboxes = textboxes[:] + # XXX this is slow when there're many textboxes. while 2 <= len(textboxes): mindist = INF minpair = None