From dc586d941f362b976e575868da4894de75be983f Mon Sep 17 00:00:00 2001 From: The Gears of Progress Date: Wed, 21 Jan 2026 14:16:43 -0500 Subject: [PATCH] Removing space after JPN period --- text_helper/main.py | 1 + 1 file changed, 1 insertion(+) 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