Bug 146901 - Files .docx forget subscript format when file is saved. Files .odt do not forget.
Summary: Files .docx forget subscript format when file is saved. Files .odt do not for...
Status: RESOLVED DUPLICATE of bug 129920
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 19:03 UTC by Wolfram
Modified: 2022-06-24 18:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
comparison of erroneous subscripts between ODT, DOCX, and PDF files (171.08 KB, image/png)
2022-01-21 19:56 UTC, Wolfram
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram 2022-01-21 19:03:36 UTC
Description:
When placing a subscript in a text.docx its size and position are maintained while the file is open. Saving as file.odt maintains size and position of subscript. Saving as text.docx resets size to 100% and lowers by 6% for Automatic size choice, and size to 100% with the previously selected lower-value.

Steps to Reproduce:
1. open a file like foo.docx file
2. write e.g. character V size 9 character (bold or not). ad a Subscript, say with size 66%, offset 33%, save and close the file.
3. On opening the subscript (may) changes to wrong size, e.g. 100% and 6%size
4. this pattern is not quite consistent: a Subscript may also appear as Superscript after a few repeated changes using Automatic. When selecting Subscript again it appears on the same baseline as the original letter.

Actual Results:
Cannot show this outside a DOCX file.
Note: this does not happen with an ODT file. That type stays consistent.

Expected Results:
same as in an ODT file


Reproducible: Always


User Profile Reset: Yes



Additional Info:
keep sizes and positions of Sub/Superscripts as in the original DOCX file.
Comment 1 Wolfram 2022-01-21 19:56:50 UTC
Created attachment 177692 [details]
comparison of erroneous subscripts  between ODT, DOCX, and PDF files

Subscripts and Superscripts appeared correctly in opened DOCX and ODT files.
Upon closing and re-opening them only ODT files maintained the correct index sizes and positions.
Correct index sizes, however, were lost when inserting the PDF file, DERIVED from the ODT file, into another ODT file.
Comment 2 m_a_riosv 2022-01-21 21:37:57 UTC

*** This bug has been marked as a duplicate of bug 129920 ***
Comment 3 Justin L 2022-06-24 18:11:46 UTC
LO and MS Word use totally different concepts to format subscripts. So this it is total emulation hacking to convert from one to another. It is impossible to keep things exact, so best to just use all default/automatic values.