Created attachment 42566 [details]
Word for Windows 2.0 .doc file with some text raised and lowered
I have attached a file containing some formatting that doesn't show up correctly when opened in LibreOffice Writer. The file format is (I believe) the Word for Windows 2.0 version of the .doc format.
Some of the characters are meant to appear 'below the line', but this has been achieved not through selecting the Subscript option in MS Word, but by editing the character spacing. In MS Word 97, this would be done by going to Format, Font then selecting Character Spacing tab and setting "Position:Lowered by 3 pt".
However, when this file is opened in Writer, the characters appear massively above the normal text line. Going to Format, Character in Writer, then the Position tab we see that the conversion process has assigned the character different properties under the Position section to what would be expected.
The Superscript radio button is selected (which I assume is analogous to "Position:Raised" option in MS Word) and the "Raise/Lower by" is set to 100% (which raises it as high as it can go, not sure what the pt equivalent is).
To obtain the correct display in Writer, it should be the Subscript radio button, and "Raise/Lower by" set to 21%.
I've done some testing (included in the .doc attachment) and found that text in this format that is set to appear 'above the line' is correctly formatted when opened in Writer, but text set to appear below the line always appears as high above it at the settings allow.
I'll also attach a .pdf that shows what should be happening, and what actually is with my original example.
Created attachment 42567 [details]
Comparison of Libreoffice and Correct display of lowered text
->Cedric. and.. this might even be a good candidate for an easy hack?
(In reply to comment #2)
> ->Cedric. and.. this might even be a good candidate for an easy hack?
That was so easy, that it was much quicker to fix it than wait for some one to choose this one.
Fixed in master branch by this commit:
Build ID: 066665644b398a882e6cded98af5bb060af41d76
TinderBox: Android-ARM@24-Bytemark-Hosting, Branch: Master, Time: 2017-06-01 00:30:43