octimot/StoryToolkitAI

Better handling of orphan single words on new line after split

The3IC opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
When you limit the line length (eg I use 60 for stuff that goes to Youtube) AND enable split on punctuation, I often end up with single word subtitle lines. These look a bit un-professional and tend to "wizz by" quite quickly.

Describe the solution you'd like
Some setting to force new lines to be at least 2-3 words IF the belong to the same sentence (single word sentences are OK to export as just single lines).

Could be defined either as "minimun end-of-sentence words" (assume reasonable values would be 2-3?)
or
as "lineflex" of say 15 characters (so that if the previous line would be 60, then it could be shortened down to 45 characters to give "extra" words to the next line.

Ofcourse, if the last word is then very looooooooong, single word lines might still appear?

Describe alternatives you've considered
none really but I don't use line lenght spec in words, I guess here with would be easier to fix with just saying "end of sentence line must be at least" N words?

Additional context
Add any other context or screenshots about the feature request here.