<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [EMF] SetWorldTransform/ModifyWorldTransform support for non-0 m12/m21"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=141982#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [EMF] SetWorldTransform/ModifyWorldTransform support for non-0 m12/m21"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=141982">bug 141982</a>
from <span class="vcard"><a class="email" href="mailto:xiscofauli@libreoffice.org" title="Xisco FaulĂ <xiscofauli@libreoffice.org>"> <span class="fn">Xisco FaulĂ</span></a>
</span></b>
<pre>(In reply to Bartosz from <a href="show_bug.cgi?id=141982#c9">comment #9</a>)
<span class="quote">> @Xisco Are you sure the regression was introduced by this commit?
>
> Could you please attach screenshots of EMF files imported by LibreOffice 4.1?</span >
In fact, this change
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -639,8 +639,8 @@ namespace emfio
double fWidth, fHeight;
if (bDoWorldTransform)
{
- fWidth = rSz.Width() * maXForm.eM11 + rSz.Height() *
maXForm.eM21;
- fHeight = rSz.Width() * maXForm.eM12 + rSz.Height() *
maXForm.eM22;
+ fWidth = rSz.Width() * maXForm.eM11;
+ fHeight = rSz.Width() * maXForm.eM12;
}
makes it to be displayed as a square again</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>