Skip to content

Rotate LineAnnotation caption if text would be upside down

ninist requested to merge ninist/poppler:master into master

The caption of LineAnnotation always renders from the start of the arrow to end. When the arrow points left, the text is rendered upside down. This commit rotates the text 180° in the latter case.

I apologize if there's already an option that enables this behavior.

Edited with a short example:

Before patch on top, after patch on bottom. beforeafter

The pdf-file and two full-page screenshot comparisons are attached in a later comment.

Edited by ninist

Merge request reports