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

--- Comment #4 from Aron Budea <[email protected]> ---
It seems that the following line uses the size of the original image, not the
size of the resized image:
aSize = pGrfNode->GetTwipSize();
https://opengrok.libreoffice.org/xref/core/sw/source/filter/ww8/docxattributeoutput.cxx?r=d55b26a0#4879

What complicates things is that the original rSize parameter in
DocxAttributeOutput::FlyFrameGraphic(...) is the frame's layout size, which is
the bounding rectangle of the resized+rotated image.

What seems to be needed is the size of the resized image, not sure where that
is stored/calculated (in ww8::Frame, maLayoutSize is the aforementioned layout
size, and maSize is the original size).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to