Open WinWurm opened 1 week ago
Thanks for reporting this, it appears to be an issue when using <pattern>
and how it calculates the projected coordinates.
I will investigate further but sidestepping pattern and directly using <image
> is best for now 👍🏻
Hi, i have faced with rendering issues with some svg files. The embedded png image doesn’t rendered Here is the file
File structure look like this
if i change file structure to more simple form (remove
defs
section) all renders correctI don’t know exactly, but it’s looks like the issue occurs because image
UIGraphicsImageRenderer
initiated with svg size (defined at file beginning) and embedded image renders in more bigger rectwidth="582" height="448"
by usingCGRenderer.draw(image: CGImage, in rect: CGRect)
and only after rendering its scaling