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

--- Comment #6 from Shimi Chen <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to