JBIDE-14383 Text formatting in jQuery Mobile wizards preview in Windows.

Algorithm is improved. Instead of summing up char widths,
line width is requested from swt. Char width does not include
head and tail widths, which are zero in Ubuntu, but non-zero
in Windows.