Apache OpenOffice (AOO) Bugzilla – Issue 2325
MS Word Filter Incorrectly Chnages Font Size
Last modified: 2003-09-08 16:56:16 UTC
Refer to attachment. There are two problems. See the line with the characters "3M" 1. OO cannot properly retain the tab size. A shorter tab size is causin the 3 lines being mis-aligned. 2. In the original document, the characters "3M" are of size 14 pts. But after import to OO, the "3" has size 14 pts while the "M" changed to 18 pts.
Created attachment 738 [details] Sample Document
REassigned to Michael.
MRU->CMC: Another FastSave issue? When I re-save it in my copy of WW and import it to Writer, the tabs in the lines with 1), 2)... appear correctly (on 3 cm), the FontSizes are o.k. and the font replacement works fine. Also the filesize decreases from 32 to 19 k.
Well I can see why its happening, and its reasonably easy to figure out what should happen instead. Implementing the fix inside the existing property scanning structure is a bit more tricky and might take a few iterations to get right :-)
The fastsave stuff fontsize is under control with sw/source/filter/ww8/ ww8scan.cxx Rev 1.33 ww8scan.hxx Rev 1.20 The tab stops are actually in the right place, but the text is being rendered narrower than in word, and narrower than in an imported fastsave document. Which is passing strange. I wonder if there is a subtle language issue relating to how its rendered that is getting confused. Have to investigate that part of it further.
Fairly sure that the tabstop issue is a layout issue of some kind, perhaps related to the fact that the font the document is in is missing on our setups and is replaced with an alternative. In the resaved new word documents word adds an alternative font of "arial unicode" and when opened in writer that is added as the alternative, and writer will use that alternative because the original is missing. With that arial font the tabstops work ok. Either the standard alternative font is the problem, or the use of the fallback font shows up some issue with how tabstops work with text positioning.
*** Issue 2494 has been marked as a duplicate of this issue. ***
Working in SRC651a (linux pro)
Yeah, looks good. The fix will be public in a version like OpenOffice 65x.
*** Issue 5271 has been marked as a duplicate of this issue. ***
Fix introduced in OpenOffice 643.