Equations created through MS Equation Too are not converted correctly. Text conversion is also distorted.
Steps to Reproduce:
1.Open attached .pptx document with LibreOffice Impress.
Formula and text formatting is incorrect
Formula and text formatting are expected to be correct.
User Profile Reset: No
Created attachment 151885 [details]
Equation and text formatting
Created attachment 151886 [details]
Confirming on current master/6.4.0alpha0 and 188.8.131.52 builds on Windows 10
There are several issues.
First is font mishandling--because the OOXML is using Cambria Math and assigning Unicode SMP codepoints from the Mathematical Alphanumeric Symbols block. Specifically U+1d465 Mathamatical Italic Small X. Since the LibreOffice formula editor defaults to Liberation Serif for variables it has no coverage of the block, nor is there any font fallback, and the variable from the OLE formula shows a blank when rendered.
But an easy workaround, setting LO formula editor to use the same font as MS Office Equation editor -- Cambria Math, the variable(s) will show on the document canvas.
The other issues on slide one and two of attachment 151885 [details], where a text box using bullets is holding the OLE formulas.
1) The import filter incorrectly positions and sizes the OLE to the full size of the imported Text box--stretching the formula. Should either keep defaults for LO Formula editor, or better read the font size from the object in XML
2) On filter import LibreOffice displays both the Text box bullets, but also the fallback image (media/image5.png on slide one, and media/image6.png on slide two). And slide two shows "double struck" for the text bullet as the import is positioned incorrectly, that is bug 117658 -- the import filter should do one or the other. Either import the just the image, or import just the bullets of the Text box.
3) On slide two, the Formula OLE for the bullet is not rendered, so only see the fallback image. But by deleting the initial text bullet it allows the Formula OLE to render. So the import filter is not handling the OLE in the text box when other text bullets are present.
So handling the formula import from OOXML was done by Michael S. in
And the text boxes with multiple bullets are not parsed, explaining 3).