[Libreoffice-bugs] [Bug 142021] New: [EMF] SetPolyfilMode Mode = 2 ("winding") is ignored

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 1 15:41:58 UTC 2021


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

            Bug ID: 142021
           Summary: [EMF] SetPolyfilMode Mode = 2 ("winding") is ignored
           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:
[MS-EMF] describes two values for PolygonFillMode enum:
Alternate = 1
Winding = 2

LO seems to ignore 'winding' mode and apply 'alternate'.

Steps to Reproduce:
Open EMF sample (star_pfm2.emf) in LO.

Actual Results:
Both stars rendered with unfilled pentagon in the center 

Expected Results:
Bottom star should be fully filled.


Reproducible: Always


User Profile Reset: No



Additional Info:
Implementation in MSO for Windows seems to consider anything other than 1 as
"Winding".
Implementation in MS wordpad seems to consider anything other than 2 as
"Alternate".

Because of the inconsistency in MS own implementation, decision is needed with
what to be compatible.

-- 
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/20210501/02b2df8a/attachment.htm>


More information about the Libreoffice-bugs mailing list