Added support for various spaces, inluding non-breaking space (fixes bug no 2297) Added support for line breaking in the middle of words for CJK languages Fixes for bug 2243 based on a patch from rainer.garus@nexgo.de