Hi Sebastien,
Thanks for your inquiry. We regret to share with you that implementation of this issue (WORDSNET-14527) has been postponed for now (no ETA available). However, the fix of this problem may definitely come onto the product roadmap in the future. Unfortunately, we cannot currently promise a resolution date. We apologize for your inconvenience and thank you for your understanding.
We cannot rely on CSS text justification, because ‘text-align: justify’ doesn’t work with ‘white-space: pre’ we use. The only browser in which we managed to get text justified as in MS Word is Chrome. In that browser the style combination ‘text-align-last: justify; white-space: pre-wrap’ does the trick. However, in most browsers ‘text-align: justify’ works only with ‘white-space: normal’, which also turns on collapsing of adjacent whitespace characters. As a result, justified text in browsers look different from that seen in MS Word, because in Word adjacent spaces never collapse. Moreover, ‘white-space: normal’ is known to cause issues with spaces in bidi text, because spaces are collapsed before the text is reordered.
We cannot make the requested change now, since most browsers don’t implement the text justification method we need. The situation may change in the future, so we’ll return to this task later. Until then we have to rely on Aspose.Word’s layout mechanism to justify text and position each word in HTML individually.
Best regards,