[Libreoffice-bugs] [Bug 142941] New: [EMF+] DrawImagePoints SrcRect support

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 19 14:15:54 UTC 2021


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

            Bug ID: 142941
           Summary: [EMF+] DrawImagePoints SrcRect support
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: frob at df.ru

Description:
LO doesn't handle DrawImagePoints SrcRect properly.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
LO draws a piece of green rectangle in the top left corner and blue square in
the middle of the image.

Expected Results:
It should draw green square of the same size as a blue one on the top part of
the image.


Reproducible: Always


User Profile Reset: No



Additional Info:
In this case DrawImagePoints deals with an ObjectImage of the Metafile type. LO
reads SrcRect and uses in in aGDI.Clip call, however it has wrong or no effect
depends on the specific values provided.

This was identified during analysis of EMF+ part of the issue with a file from
tdf#59814.
Solving this problem should also have a positive impact on tdf#59814.

-- 
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/20210619/ed0fdeed/attachment.htm>


More information about the Libreoffice-bugs mailing list