Reformat lines

Reformat and word-wrap subtitle lines - split too long lines and merge too short lines. The function works in 3 steps:

  1. Text preparation - Prepare the lines of the subtitle.
  2. WordWrap - Split the lines that are too long
  3. Post processing - Split subtitles that have too many lines or merge single-liners.

The text preparation has these modes:

The next phase is WordWrap. In this phase the long lines are split. The maximum length has these options:

The WordWrap has 2 modes:

This is an example
of  the Similar length
WordWrap function
This is an example of the
Screen boundary WordWrap
function
Similar length Screen boundary

The Similar length mode yields better results when the words are short. With long words the lines may be significantly different in length. If the line contains a single word that is longer than the limit, this word is not split (it stays on a single line). When the lines are close in length to the multiple of the limit, in the Similar length mode they can be sometimes divided to more parts (one more) than in the Screen boundary mode.

The last phase is Post processing. There are 2 options for this phase:

The reformat is performed by clicking on the Reformat button. If the Mark changed subtitles checkbox is checked, all touched subtitles are marked.