Bug 62163 - [WMF] FILEOPEN: Formulas incorrectly displayed
Summary: [WMF] FILEOPEN: Formulas incorrectly displayed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.0.1.2 release
Hardware: Other All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2013-03-11 12:34 UTC by dmitriy566
Modified: 2024-11-02 17:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Incorrect formulas (47.99 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-03-11 12:34 UTC, dmitriy566
Details
WMF files extracted from the document (23.84 KB, application/zip)
2020-11-17 23:31 UTC, Bartosz
Details
WMF Extracted formula image with wrong arrows position (1.96 KB, image/x-wmf)
2022-05-09 12:59 UTC, Bartosz
Details
WMF Minimal image with strikethrough and under added (554 bytes, image/wmf)
2022-06-03 13:25 UTC, Bartosz
Details
PNG How it should looks like (MS Word) (10.16 KB, image/png)
2022-06-03 13:27 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmitriy566 2013-03-11 12:34:48 UTC
Created attachment 76333 [details]
Incorrect formulas

I found a bug not fixed in LO 4.0.1.
Formulas are displayed with errors(some have wrong position, some have an artefacts) and text doesn't seem to be similar as in MSO.
Comment 1 Björn Michaelsen 2014-01-17 00:43:27 UTC Comment hidden (obsolete)
Comment 2 Joel Madero 2015-05-02 15:42:48 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-06-20 19:04:35 UTC
The only, very minor problems observed when compared with Word viewer:
The formula after радиус-векторов has the surrounding r1 and r2 higher than the middle character.
The formula after радиус- векторы is aligned too high.
Word viewer shows the last lines before the line graph as having a much larger line height than LibO.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 4 QA Administrators 2016-09-20 10:09:48 UTC Comment hidden (obsolete)
Comment 5 Timur 2018-08-03 17:35:30 UTC
Formulas in Attachment 76333 [details] are binary OLE objects that can not be edited in Word.
Reporter was supposed to say how document was created, what is formulas source.
I guess for LO they are not "formulas" but WMF images. 
If we open those images in image viewer, they are also not correct.
So I guess we have 2 issues here:
- LO doesn't read binary embeddings
- cached images are not proper
Comment 6 QA Administrators 2019-08-04 05:49:05 UTC Comment hidden (obsolete)
Comment 7 Bartosz 2020-11-17 23:31:23 UTC
Created attachment 167380 [details]
WMF files extracted from the document
Comment 8 Bartosz 2022-05-09 12:59:20 UTC
Created attachment 180015 [details]
WMF Extracted formula image with wrong arrows position
Comment 9 Bartosz 2022-06-03 13:25:56 UTC
Created attachment 180554 [details]
WMF Minimal image with strikethrough and under added
Comment 10 Bartosz 2022-06-03 13:27:17 UTC
Created attachment 180555 [details]
PNG How it should looks like (MS Word)
Comment 11 QA Administrators 2024-06-04 03:14:37 UTC Comment hidden (obsolete)
Comment 12 Mike Kaganski 2024-11-02 06:03:19 UTC
It's not a formula issue, but a WMF rendering issue / OLE object positioning issue.