https://issues.apache.org/ooo/show_bug.cgi?id=124259

--- Comment #8 from Andre <[email protected]> ---
Ah, I found the reason why the mathvariant="normal" is ignored on input: It is
a construct from MathML 2, while AOO only supports MathML 1.1.  MathML 1.1 has
only the 'fontstyle' attribute, which is deprecated in MathML 2.

So, changing the tag
  <mi mathvariant="normal">
to
  <mi fontstyle="normal">
would make the importer correctly set the nIsItalic flag.  But only to be
ignored in SmXMLIdentifierContext_Impl::EndElement() because the text it
applies to is only one character long.


A possible fix for this bug could look like this:

- Fix the bug doc to conform to MathML 1.1

- Remove the rule from EndElement() that ignores the MathML instructions in
certain cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to