Increase minimum word distance.

This commit is contained in:
Andrey Golovizin 2014-08-26 23:05:49 +02:00
parent 95de2d948b
commit a3549220bf

View file

@ -208,7 +208,7 @@ class Line(PageObject):
if glyph not in bodies: # freestanding diacritic-like glyphacter without a body if glyph not in bodies: # freestanding diacritic-like glyphacter without a body
yield glyph yield glyph
def _insert_spaces(self, glyphs, min_distance=10): def _insert_spaces(self, glyphs, min_distance=15):
for glyph, next_glyph in pairwise(glyphs): for glyph, next_glyph in pairwise(glyphs):
yield glyph yield glyph
if next_glyph is not None: if next_glyph is not None: