Summary: | XHTML export: bad alignment/spacing of mathematical expressions | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Frédéric Wang <fred.wang> |
Component: | filters and storage | Assignee: | Frédéric Wang <fred.wang> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 4.2.0.0.alpha0+ Master | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | target:4.2.0 | ||
i915 platform: | i915 features: | ||
Attachments: | testcase |
I've submitted a patch for review: https://gerrit.libreoffice.org/4751 This should fix the bad vertical alignment of formulas. A space before/after the <math> element is now added which may be less artificial than margin properties (issues remain when an inline formula is followed by e.g. a comma or period). Frederic Wang committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fb2edd686c8b8ba4318e957f7cf23060ffd3e2c3 fdo#66645 XHTML export: ignore incorrect style on math objects The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Already fixed? Setting to NEW with compliments from jorendc :) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 82122 [details] testcase draw:frame with MathML expressions contain margin-left, margin-right and vertical-align styles that make the alignment and spacing of mathematical formulas incorrect. Try to export the testcase to XHTML.