[Poppler-bugs] [Bug 106964] New: Coordinates should not be rounded when converting to XML file
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 19 16:55:32 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106964
Bug ID: 106964
Summary: Coordinates should not be rounded when converting to
XML file
Product: poppler
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: pdftohtml
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: thibaut.brard at gmail.com
Created attachment 140232
--> https://bugs.freedesktop.org/attachment.cgi?id=140232&action=edit
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
--
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/poppler-bugs/attachments/20180619/b4dad70d/attachment.html>
More information about the Poppler-bugs
mailing list