the ordering of html tag #1174
-
Hi Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Output variances of "(X)HTML" and "XML" are direct wrappers of MuPDF functions. Any theoretically reachable option to influence results can be inspected by looking at the response of the CLI command For all I have seen in MuPDF source code, there is no special effort yet to arrange HTML in some reading order - like anywhere else in the library. There are good reasons for this: HTML content does also have position information - similar to PDF. So the appearance would not profit from any such effort. |
Beta Was this translation helpful? Give feedback.
-
Insertion of anything into a page always requires unrotated coordinates - i.e. they must be provided as if the page were not rotated. |
Beta Was this translation helpful? Give feedback.
Output variances of "(X)HTML" and "XML" are direct wrappers of MuPDF functions. Any theoretically reachable option to influence results can be inspected by looking at the response of the CLI command
mutool convert
.As you will see, for these output types there is nothing specific.
For all I have seen in MuPDF source code, there is no special effort yet to arrange HTML in some reading order - like anywhere else in the library. There are good reasons for this: HTML content does also have position information - similar to PDF. So the appearance would not profit from any such effort.