diff --git a/text_helper/main.py b/text_helper/main.py index 2941d2b..a1118dd 100755 --- a/text_helper/main.py +++ b/text_helper/main.py @@ -213,6 +213,7 @@ def SplitSentenceIntoLines(sentence, offset, pixelsPerChar, pixelsInLine): lineLength = 0 offset = 0 + currLine = currLine.replace("。 ", "。") # Get rid of the space after the Japanese peroid outStr += currLine return lineLength + offset, lineCount, outStr