We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using SVG (created via Inkscape) lines are rendered super heavy in PDF output. Rastered rendering of the Web-App looks fine.
SVG:
PDF Rendering:
Web-App Rendering:
Hand editing the SVG and lowering all stroke-width attributes works as a workaround.
stroke-width
https://typst.app/project/r3WnZVT7F94NiikElL2ylN
Web app, Windows, Linux, macOS
The text was updated successfully, but these errors were encountered:
Minimally reproducible example:
<svg width="100" height="30" version="1.1" xmlns="http://www.w3.org/2000/svg"> <rect width="100" height="100" fill="white"></rect> <g transform="scale(.1 .1)"> <line x1="0" x2="100" y1="150" y2="150" stroke="#000" stroke-width="5"/> </g> </svg>
What it should look like:
What it actually looks like:
Looks to me like the stroke-width property is not affected by the scale, even though it should.
Sorry, something went wrong.
Once this PR gets merged, this issue should be fixed.
Fixed thanks to typst/svg2pdf#30
No branches or pull requests
Description
When using SVG (created via Inkscape) lines are rendered super heavy in PDF output. Rastered rendering of the Web-App looks fine.
SVG:
PDF Rendering:
Web-App Rendering:
Hand editing the SVG and lowering all
stroke-width
attributes works as a workaround.Reproduction URL
https://typst.app/project/r3WnZVT7F94NiikElL2ylN
Operating system
Web app, Windows, Linux, macOS
Typst version
The text was updated successfully, but these errors were encountered: