[Libreoffice-bugs] [Bug 116749] Font size and font of Formula object are not kept when displaying the OLE object in Microsoft Word or Powerpoint , OOXML and ODF formated documents

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 2 17:49:19 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116749

--- Comment #6 from Shimi Chen <shimi.chen at gmail.com> ---
Created attachment 141038
  --> https://bugs.documentfoundation.org/attachment.cgi?id=141038&action=edit
Same presentation file, after correcting the font size inside MS Office

Please compare the file:
/ppt/slides/slide1.xml
In both this pptx archive and the pptx  archive created by LibreOffice
(previous attachment).

MS Office seems to be using the "sz" argument to set the font size of the
element (in this case sz=12000, so 100*PointSize), whereas LibreOffice does not
use it at all in OOXML and instead just stretches out a 12-point font to a
bigger box.

If you open the previous attachment in LibreOffice you can see that the font
size in the (seemingly large) formula is in fact only 12, not 120. If you open
the current attachment (created by MS Office) in LO, then it fails horribly (it
shows 2 separate formulas with different sizes, one of which is identified as a
formula with font size of 12 and the other looks like an image, and both are
visually much larger than 12).

The "sz" argument seems to be documented as part of the OOXML format:
http://officeopenxml.com/WPtextFormatting.php

But I don't get why it is 12000, should be 240 if I'm reading the definition
correctly. However, I don't actually know anything about OOXML, just thought
i'd try to poke inside.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180402/623e4a47/attachment.html>


More information about the Libreoffice-bugs mailing list