Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Adds translattion of highlight annotations"
This reverts commit 0107f80 The reason for doing this is explained by @Vizs in vedang#143, copying the message here: Andreas wrote the function `annotation_translate_quadrilateral`[^1][^2] to fix misplaced annotations due to the then bug in `glib`. This misplacement bug can be seen in the images posted in issue politza/pdf-tools#577, along with PDFs in which the bug can be reproduced. This lack of translation in the `glib` backend was fixed in `poppler 0.86.0` but the workaround was still left hanging in `epdfinfo.c` which brings us to today where this unneeded translation bites our back. I commented out the calls to `annotation_translate_quadrilateral` in `epdinfo.c` and to my surprise, there were no misplaced translations in files which displayed the misplacing behaviour and in files which did not have this behaviour. [1]: politza/pdf-tools@0107f80 [2]: politza/pdf-tools#122 Closes: vedang#143 Closes: vedang#146
- Loading branch information