Closed hbh112233abc closed 2 years ago
You don't provide much information except for the files. But I assume you don't expect the upper left black labels to be where they are, and I guess they are a copy of the lower right red ones. Can you strip down the SVG to a minimal size that shows this effect, please?
Opening it in Firefox gives
So I think that's the expected output
Opening it in Firefox gives
So I think that's the expected output
the problem is the output pdf file has error! the svg image not found error!
@hbh112233abc You can help debugging by minimizing your SVG to a version that shows the undesired effect.
I tried with most recent svglib version and the output looks a lot nicer now.
svg image temp1629451352.8199928.svg.zip convert to pdf temp1629451352.8199928.pdf
env: win10 64bit python 3.7 64bit svglib 1.0.1
demo:
error display![微信截图_20210823115413](https://user-images.githubusercontent.com/7788164/130387869-f03396b3-7bb3-449c-ad5a-f0ac0a2f014d.png)
And I use
cairosvg
convert pdf not found this problem!