There was an error while loading. Please reload this page.
1 parent 93399c3 commit 87f88a9Copy full SHA for 87f88a9
src/calibre/ebooks/pdf/reflow.py
@@ -902,6 +902,7 @@ def join_fragments(self, opts):
902
if match.left < frag.right:
903
# Text overlaps. Do we have a blurred character?
904
if len(match.text_as_string) == 1 \
905
+ and len(frag.text_as_string) != 0 \
906
and match.left + match.width > frag.right \
907
and frag.text_as_string[-1] == match.text_as_string[0]:
908
break # Overlapping same character, so ignore it
0 commit comments