https://bugs.freedesktop.org/show_bug.cgi?id=45284

--- Comment #13 from Yury <[email protected]> 2012-03-03 03:36:01 PST 
---
Okay, here come the examples. Two files contain an equivalent of "{a123}
wideslash {b456}" prepared in Word 2003 eqaution editor. One was composed with
font size set to 10pt, another — to 14 pt. 

Please note that the overall formula's font size in examples isn't actually
included into mathtype equation elements, but is put into a position preceding
the equation proper. This is deduced from the binary comparison results.

Now, the import screens show where things go wrong in the mainstream LibO/OOO:

1) The formula's font size (10pt or 14pt in this case) is lost. The actual
formula font size setting is in all cases 11pt (as set as default in local
installation; dialog not shown), and so differs with what was actually set in
Word file. This is, however, bearable.

2) What's worse, formulas get sprayed with «size 12» and «size 8» (these are
arbitrary sizes taken from the array in the starmath/source/mathtype.cxx, in
function MathType::Init()), which is completely unacceptable. Just imagine
clearing those out in 100 formulas or so.

P.S. As a side question, I notice that, e.g., CmathOOO extension is capable of
composing the formula «on the run» and inserting it with font size and face
taken from paragraph style. How difficult would it be to implement: 1)
*optional* setting of font size and face in imported formulas to whatever was
set in imported file (say, Times New Roman and 10pt); 2) batch changing of the
font faces and sizes of all formulas in LibO/OOO document; optionally, do it
like it's done in KDE fonts dialog (adjust face only, or size only, etc.)?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to