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@lists.freedesktop.org
          Reporter: rb.hensc...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to