[Libreoffice-bugs] [Bug 104597] Text runs of RTL scripts (e.g. Arabic, Hebrew, Persian) from imported PDF are reversed, PDFIProcessor::mirrorString not behaving

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 16 14:15:04 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=104597

--- Comment #57 from Armin Le Grand <Armin.Le.Grand at me.com> ---
Ah - sorry, one note to that: Of course since internally the Y-Axis goes down,
to get the lower-left edge you would need to multiply Point(0,1) with the
matrices - but in the given example working with the Vectors at the top of the
text rectangles would work just the same.
And if that was not clear - this is the clue with matrices - you can transform
ANY coordinate pair in unit coordinates [0.0 .. 1.0] by multiplication with the
matrix to it's 'target' coordinates, this 'magically' applies
scale,shear,rotate and translate. So - e.g. to get the center of that object,
use Point(0.5, 0.5), multiply -> voila

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210716/412b06e9/attachment.htm>


More information about the Libreoffice-bugs mailing list