Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invisible line becomes visible #145

Open
r4tz52 opened this issue May 13, 2021 · 0 comments
Open

Invisible line becomes visible #145

r4tz52 opened this issue May 13, 2021 · 0 comments

Comments

@r4tz52
Copy link

r4tz52 commented May 13, 2021

I'm trying to draw simple auto-generated SVG in PDF document. The SVG image has some lines with stroke="transparent" and stroke-width="0", but SVG-to-PDFKit internally adds fill="black" to them, so it become visible in output.

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
  <line stroke="transparent" opacity="1" stroke-width="0" x1="10" x2="190" y1="10" y2="190"/>
</svg>

pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant