<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 - Some EMF image parts are incorrectly extended"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116623">116623</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Some EMF image parts are incorrectly extended
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0.2.1 release
          </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>graphics stack
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>kurko2000@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Migrated from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EMF is opened with large empty space around it"
   href="show_bug.cgi?id=116335">bug 116335</a> (part 3).

Some parts of certain EMF images are not displayed correctly. An example is
attached. When it is inserted into Writer or opened in Draw, the curves extend
outside the plot area even though they should not.

Example contents:
- An EMF file 
- A screenshot showing this problem in Writer
- A reference rendering in Microsoft Word (note that this screenshot also
contains another, unrelated image)


Please note that the same problem occurs in Inkscape.

Steps to Reproduce:
1. Download and unpack the example files
2. Insert the EMF file into Writer or open it in Draw
3. Look at the plot curve endpoints 
4. Compare with the reference rendering. You can also use Microsoft software to
view the EMF file

Actual Results:  
The curves extend outside the plot area

Expected Results:
The curves should stay inside the plot area


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with:

Version: 6.0.2.1
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: group


Version: 5.2.7.2
Build ID: 1:5.2.7-1+deb9u2
CPU Threads: 4; OS Version: Linux 4.9; UI Render: default; VCL: gtk2; 
Locale: fi-FI (fi_FI.utf8); Calc: group


Version: 5.4.5.1
Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0</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>