Tweak apostrophe detection window.
This commit is contained in:
parent
a3549220bf
commit
a7f10da92b
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ class Glyph(PageObject):
|
||||||
if glyph.fits(
|
if glyph.fits(
|
||||||
self.right - 5,
|
self.right - 5,
|
||||||
self.top - 5,
|
self.top - 5,
|
||||||
self.right + 5,
|
self.right + 7,
|
||||||
self.top + 10,
|
self.top + 10,
|
||||||
) and glyph.height > 3 and self.optical_distance(glyph) < 4:
|
) and glyph.height > 3 and self.optical_distance(glyph) < 4:
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue