<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - area-polygon in image-map does not interpret attribute svg:viewBox"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131968">131968</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>area-polygon in image-map does not interpret attribute svg:viewBox
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rb.henschel@t-online.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=159399" name="attach_159399" title="File with image map">attachment 159399</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=159399&action=edit" title="File with image map">[details]</a></span>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>