The present invention discloses a method to automatically arrange word
string in a display. The word string includes two words. The method
includes the following steps. The first step is to define the positions
of the start position and the stop position of strokes of the two words.
The second step is to group the start position and the stop position
based on a threshold value. The third step is to circle the words based
on the grouping result. The final step is to rearrange the two words
based on a datum point.