12. The method of claim 1 , further comprising dividing the text content into the plurality of text parts such that the number of text parts is as small as possible without reducing the portion of the text content covered by the text parts.
12. The method of claim 1 , further comprising dividing the text content into the plurality of text parts such that the number of text parts is as small as possible without reducing the portion of the text content covered by the text parts. 13. The method of claim 12 , wherein the number of text parts that start or end with numeric, neutral or whitespace characters and have a mismatch between the intrinsic text direction and the declared text direction is as small as possible without reducing the portion of the text content covered by the plurality of text parts.