Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

use GTE (vs GT) in textedge intersection #55

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion camelot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Loading