[Libreoffice-bugs] [Bug 131968] New: area-polygon in image-map does not interpret attribute svg:viewBox

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 7 19:45:34 UTC 2020


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

            Bug ID: 131968
           Summary: area-polygon in image-map does not interpret attribute
                    svg:viewBox
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 159399
  --> https://bugs.documentfoundation.org/attachment.cgi?id=159399&action=edit
File with image map

Open attached file. It contains two images with image-map. The active area is
defined by a polygon. The only difference is the svg:viewBox element. In the
first image width and height of it is double of the values in the second image.
Expected result: The active area in the first image is half the width and
height of that in the second image.
To see the active area click on the image and go to menu Edit > Image Map.

To see, that doubling width and height in the svg:viewBox indeed makes the
polygon half the width and height, you can use the second attached file. It has
two shapes which differ only in the svg:viewBox, same as in the image map, that
one is half of the other.

LibreOffice works internally always with 1/100 mm and writes the svg:viewBox
accordingly. But it should be able to interpret other values on opening. It
would solve the problem, if the 1/100 mm coordinates would be calculated on
opening such files.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200407/4240dd14/attachment.htm>


More information about the Libreoffice-bugs mailing list