Description: Import pdf with nonzero fill rule path, the path always use evenodd fill rule. that's cause the visual is incorrect Steps to Reproduce: 1.Create new svg file with nonzero fill rull path. eg:(https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule) 2.Use Firefox/Edge open the svg file. 3.Ctrl + P and select "print to pdf" to convert it to pdf 4.Open the pdf and observe Actual Results: All path display with evenodd fill rull Expected Results: Should display according the path's fill rule Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.5.2 (X86_64) / LibreOffice Community Build ID: fddf2685c70b461e7832239a0162a77216259f22 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: zh-CN (zh_CN); UI: en-US Calc: threaded
Created attachment 199587 [details] source svg
Created attachment 199588 [details] test pdf
Reproducible Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a91494780bb59afe8c971003e6b809f1e66df050 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: en-US (es_ES); UI: en-GB Calc: CL threaded
Also reproduced in Version: 6.4.0.0.alpha1+ Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3; Locale: en-US (es_ES.UTF-8); UI-Language: en-US Calc: threaded
langty committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/19ac1ce1531e4ff6977cca1321c73494c0ffaef1 tdf#165553 Fix Draw import of nonzero paths from pdf It will be available in 25.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.