Apache OpenOffice (AOO) Bugzilla – Issue 60826
WW8: spacing between Thai and English not preserved on import/export
Last modified: 2013-08-07 14:38:26 UTC
The OOo feature of automatically adding a feature between Thai and English causes problems with export to .doc format. In OpenOffice, if a Thai word is followed by an English and there is an automatic space created by OpenOffice between them, when that is saved as .doc and opened in Microsoft Word 2003, there is no space between the two words. Similarly, if a document is created in Microsoft Word 2003 with a Thai word immediately followed by an English word, without any space between them, when that is saved as .doc and then opened in OpenOffice, there will be a space between the two words that was not there originally.
Created attachment 33378 [details] Thai/English document created by Microsoft Word 2003
Created attachment 33379 [details] Thai/English document created by OpenOffice
This is related to issue 57823.
This is not a problem of the Word filter in OO. It is a general difference between Writer and MS word in displaying mixed Thai/Western text. MRU->SBA: is this intended?
OOo has a paragraph property that controls whether the space is inserted or not. Surely the import filter should set the property so that the text looks the same in OOo as it does in MSO. Similarly, if a paragraph has the auto-insert space property set in OOo, then the export filter should do the best it can to simulate that property in MSO by adding explicit spaces between Thai/English (or by setting a property in MSO if there is one).
SBA: What I see initially looks worse. But seems to be font-related. On my Windows machine, there is a huge difference in initial spacing in between the Thai characters, too. But after formatting both in Word and OOo to the same font, then the western-Thai spacing thingie is visible. SBA->FME: Please proceed.
FME: MSO has a paragraph property "Automatically adjust space between Asian and Latin text", which is mapped to our "Apply spacing between Asian, Latin and Complex text" paragraph property, i.e., in MSO the spacing is *not* applied at the boundaries of Complex text.