You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/03/20 10:26:07 UTC

[Issue 126879] New: formulae can be clipped

https://bz.apache.org/ooo/show_bug.cgi?id=126879

          Issue ID: 126879
        Issue Type: DEFECT
           Summary: formulae can be clipped
           Product: Math
           Version: 4.1.2
          Hardware: All
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: feraudyh@yahoo.com

Created attachment 85361
  --> https://bz.apache.org/ooo/attachment.cgi?id=85361&action=edit
odt file where TexMath formulae are clipped

I include an OpenOffice text file where I have attempted to insert mathematical
formulae.

Here are the settings for TexMaths I used
The output format is SVG
DPI = 600
Font size = 60 

Unfortunately the bottom part of the formulae are shaved off, and this becomes
all the more apparent when I save the file as a HTML file: whatsmore the gif
files are not only clipped but much smaller than expected.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126879] formulae can be clipped

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126879

--- Comment #2 from Henri de Feraudy <fe...@yahoo.com> ---
There was no "original SVG" file. The formula was generated by entering Latex
code using TexMath and pressing a button to do the conversion.
So from what you are saying, it might be the generation did not do a proper job
at creating an SVG file.
TexMaths is not designed to generate MathML as far as I know. It's an Open
Office plugin to insert formulae into the document.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126879] formulae can be clipped

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126879

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOT_AN_ISSUE

--- Comment #5 from Regina Henschel <rb...@t-online.de> ---
So it seems, that it is not our bug. You should contact the author of the
extension.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126879] formulae can be clipped

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126879

Patricia Shanahan <pa...@acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pats@acm.org

--- Comment #3 from Patricia Shanahan <pa...@acm.org> ---
Could you supply a copy of the typed LaTex code?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126879] formulae can be clipped

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126879

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126879] formulae can be clipped

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126879

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |rb.henschel@t-online.de

--- Comment #1 from Regina Henschel <rb...@t-online.de> ---
Please attach the original SVG-file. I suspect, that the part is already
missing there, at least in the included SVG-files the lower part of the
character is not complete.

Is TexMath able to export to another format, e.g. MathML?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126879] formulae can be clipped

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126879

--- Comment #4 from Regina Henschel <rb...@t-online.de> ---
It seems to me, that the error is in TexMath, I cannot say whether in the
extension itself or in the used library 'dvisvgm'. Do you can influence the
options used for dvisvgm from inside the extension? If yes, it should be set to
--exact.

The included svg image has a height set to 5.88339pt. Converting to cm you get
5.88339/72*2.54cm=0.207553cm. That is likely not your intended size. You should
try to use other settings in TexMath, if possible. SVG assumes 96dpi for cases
where a conversion is needed and no other agreements exist.

This height of 5.88339pt is mapped to a viewBox height of 5.88339. Therefore an
internal number of 1 is mapped to 1pt. The drawing contains a rectangle for the
overline, and a path for the character x, and a rectangle with white filling
with same x,y, width, height setting as the viewBox. When I increase the
viewBox height, then I get the whole character. So the path for the character
is correct, but the viewBox is not high enough.

-- 
You are receiving this mail because:
You are the assignee for the issue.