Glitch export native linear gradient to EMF
Bug #1538786 reported by
David Mathog
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
David Mathog |
Bug Description
About half of the exports of native linear gradient fills in rectangles to EMF were failing.
The attached test file grads.svg has many such rectangles. (Ignore the triangles.)
This glitch was breaking round trip testing of the libUEMF test_libuemf_
To post a comment you must log in.
The attached patch seems to resolve this bug. Once it is applied not only are the gradients exported as expected, but round trip
testing for EMF files works again, such that the first and third files, dumped via reademf, differ only in the expected places:
diff test1_emf.txt test3_emf.txt
1c1
< U_EMR_HEADER record: 0 type:1 offset: 0 rsize: 228 crc32:54AA5416
---
> U_EMR_HEADER record: 0 type:1 offset: 0 rsize: 228 crc32:D30A7175
13c13
< Desc. B: test1.emf
---
> Desc. B: test3.emf