Providing an example where the generated SVG for a PDF page is incorrect. PyMuPDF Discussion item: https://github.com/pymupdf/PyMuPDF/discussions/3573 File link: https://github.com/user-attachments/files/15817322/test.pdf Reproducer: mutool draw -o test.svg test.pdf Result: Showing a black page.
Fixed with: commit 0982783bca8f52513c8f282df70405e70095930a (golden/master) Author: Robin Watts <Robin.Watts@artifex.com> Date: Thu Jun 13 19:23:03 2024 +0100 Bug 707826: Fix SVG clip path mistake. SVG clipPaths use clip-rule, not fill-rule. This was causing even-odd clipping regions to be drawn as non-zero.