-
Notifications
You must be signed in to change notification settings - Fork 242
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
Invalid pattern offset #221
Comments
Yes, the pattern is a bit off. |
I can confirm this. I'm running resvg v0.14.1. Several testcases are attached below. When you flick between these testcases you will also notice that scale seems to be off as well. Attached are three test cases:
gerbolyze is the svg-to-svg converter that I'm working on atm. It processes patterns down to individual Note that gerbolyze and rsvg-convert both agree very well, with resvg being the odd one out. BTW, while it may be legal by spec I think it would be great if resvg could try harder to produce less of a blurry mess for small patterns. Here are the input SVG files (as zip to make github happy): resvg-testcases.zip Testcase 1:
|
resvg | rsvg-convert | gerbolyze+resvg |
---|---|---|
![]() |
![]() |
![]() |
Testcase 2: pattern_stroke.svg
resvg | rsvg-convert | gerbolyze+resvg |
---|---|---|
![]() |
![]() |
![]() |
Testcase 3: pattern_stroke_dashed.svg
resvg | rsvg-convert | gerbolyze+resvg |
---|---|---|
![]() |
![]() |
![]() |
Yes, resvg doesn't like tiny patterns. Will see what I can do about it. |
Duplicate of #628 |
https://commons.wikimedia.org/wiki/File:Subglacial_Eruption-numbers.svg
The stone labeled with 6 are higher in rsvg than in resvg maybe nummeric issues? (don't know which one is correct)
PS same for https://commons.wikimedia.org/wiki/File:Submarine_Eruption-numbers.svg
Copyright
source https://commons.wikimedia.org/wiki/File:Subglacial_Eruption-numbers.svg
author Sémhur
license https://creativecommons.org/licenses/by-sa/4.0
The text was updated successfully, but these errors were encountered: