Tweak apostrophe detection window.

This commit is contained in:
Andrey Golovizin 2014-08-26 23:06:07 +02:00
parent a3549220bf
commit a7f10da92b

View file

@ -267,7 +267,7 @@ class Glyph(PageObject):
if glyph.fits(
self.right - 5,
self.top - 5,
self.right + 5,
self.right + 7,
self.top + 10,
) and glyph.height > 3 and self.optical_distance(glyph) < 4:
return True