A basic problem in text formatting is how to separate a string of words into lines to obtain a formatted text.
When both the left and right margins of the formatted text are to be aligned, the choice of break points greatly affects the quality of the formatted documents.
I present a solution to the line breaking problem in the mixed-type text written in Korean, Chinese and English.
This line-breaking algorithm is double-line line-breaker, which breaks a paragraph into lines by looking back and ahead of the current line.
This line-breaker can also be used as a simple and efficient tool for formatting English text, since it includes the hyphenation capability.