FPDFText_GetCharAngle returns wrong angle when scaling text

26 views
Skip to first unread message

Jens Thomsen

unread,
Jun 4, 2021, 4:10:21 AM6/4/21
to pdfium
Hi 
I have two pdfs where I have rotated the text 45 degrees. In one of them the text is scaled horizontally, which changes the matrix and therefore the returned rotation. 

How should I calculate the rotation correctly regardless of other transformations?
TiltedTextWithScaling.pdf
TiltedTextNoScaling.pdf
Reply all
Reply to author
Forward
0 new messages