From 660788467c655f7541efe19cf8b4b2283c2f27ab Mon Sep 17 00:00:00 2001 From: Manuel Capinha Date: Thu, 12 Jan 2023 11:02:47 +0000 Subject: [PATCH] use GTE (vs GT) in textedge intersection --- camelot/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camelot/core.py b/camelot/core.py index 03c7985a..a1b3132b 100644 --- a/camelot/core.py +++ b/camelot/core.py @@ -66,7 +66,7 @@ def update_coords(self, x, y0, edge_tol=50): self.intersections += 1 # a textedge is valid only if it extends uninterrupted # over a required number of textlines - if self.intersections > TEXTEDGE_REQUIRED_ELEMENTS: + if self.intersections >= TEXTEDGE_REQUIRED_ELEMENTS: self.is_valid = True