Rotate LineAnnotation caption if text would be upside down
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:
The pdf-file and two full-page screenshot comparisons are attached in a later comment.