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

            Bug ID: 129308
           Summary: Not reading EMF+ EmfPlusPath records correct
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When we read EMF+ EmfPlusPath records, we are not reading the point types
correctly when we use points that use relative locations.

According to [MS-EMFPLUS] section "2.2.1.6 EmfPlusPath Object":

"PathPointTypes (variable): An array of PathPointCount objects that specifies
how the points in the PathPoints field are used to draw the path. The type of
objects in this array is specified by the PathPointFlags field, as follows:

- If the R flag is set, the point types are specified by
EmfPlusPathPointTypeRLE objects, which use run-length encoding (RLE)
compression ([MS-WMF] section 3.1.6).

- If the R flag is clear, the point types are specified by EmfPlusPathPointType
objects."

Currently we are handling the second case (where the R flag is clear), but we
are not handline the case where the R flag is set. In that case we should be
reading an EmfPlusPathPointTypeRLE, but this is not the case. 

Steps to Reproduce:
This needs a test case document, unfortunately I don't have one readily at
hand.

Actual Results:
See above. 

Expected Results:
See above. 


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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