[Libreoffice-bugs] [Bug 127437] FILEOPEN PPTX Rotated text in shape is imported wrongly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 1 22:08:08 UTC 2019


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

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
The rotation angle is put into TextPreRotateAngle. That results in a
matrix-multiplication order scale-matrix * rotation-matrix in
ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence().
The decompose algorithm in B2DHomMatrix::decompose uses the column-vectors to
detect shear. With this multiplication order the column-vectors are not
orthogonal, and thus results in a shear angle.

If the rotation angle is put into TextRotateAngle, then the
matrix-multiplication order is rotation-matrix * scale-matrix. Then the
column-vectors are orthogonal and shear angle is zero.

-- 
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/20191001/cece90a2/attachment.html>


More information about the Libreoffice-bugs mailing list