<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Coordinates should not be rounded when converting to XML file"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106964">106964</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Coordinates should not be rounded when converting to XML file
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

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

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>pdftohtml
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>thibaut.brard@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=140232" name="attach_140232" title="PATCH - Allow generate accurate x y coordinates on dumpToXml">attachment 140232</a> <a href="attachment.cgi?id=140232&action=edit" title="PATCH - Allow generate accurate x y coordinates on dumpToXml">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=106964&attachment=140232'>[review]</a>
PATCH - Allow generate accurate x y coordinates on dumpToXml

When using poppler to convert PDF document into XML file through *pdftohtml
-xml* we might expect to deal with high precision coordinates (float).

In my opinion, the xoutRound macro should be called only when generating
complex HTML documents, but not inside the dumpAsXML method (option : -xml)

To maintain a backward-compatibility, I suggest to add another option when
calling ./pdftohtml as:
-accuratecoordinates enable accurate coordinates output (for XML
post-processing)

In attachment you can find a patch to mange this case</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>