[Libreoffice-bugs] [Bug 129308] New: Not reading EMF+ EmfPlusPath records correct
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 10 11:55:57 UTC 2019
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: libreoffice-bugs at lists.freedesktop.org
Reporter: chris.sherlock79 at gmail.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191210/382b4716/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list