-
Notifications
You must be signed in to change notification settings - Fork 155
Comments
[BATIK-1285] offset should be set to 0 if this attribute is missing in stop tag#20
Open
bulenkov wants to merge 1 commit intoapache:main from
Open
[BATIK-1285] offset should be set to 0 if this attribute is missing in stop tag #20bulenkov wants to merge 1 commit intoapache:main from
bulenkov wants to merge 1 commit intoapache:main from
Conversation
@bulenkov
bulenkov
changed the title
(削除) offset should be set to 0 if this attribute is missed in stop tag (削除ここまで)
(追記) offset should be set to 0 if this attribute is missing in stop tag (追記ここまで)
Apr 29, 2020
develar
added a commit
to JetBrains/batik
that referenced
this pull request
Oct 7, 2020
Contributor
simonsteiner1984
commented
Feb 10, 2021
Can you add the jira id here
Author
bulenkov
commented
Feb 10, 2021
@bulenkov
bulenkov
changed the title
(削除) offset should be set to 0 if this attribute is missing in stop tag (削除ここまで)
(追記) [BATIK-1285] offset should be set to 0 if this attribute is missing in stop tag (追記ここまで)
Feb 10, 2021
SergeyZh
pushed a commit
to JetBrains/intellij-community
that referenced
this pull request
Feb 11, 2021
...ik#20 GitOrigin-RevId: add90b75d468944bda7a9175547d625fae039d31
framaglia
commented
Oct 25, 2023
This problem is still affecting the library, even more now with an increased usage of Figma.
Could someone please merge this PR or provide feedback to improve the solution?
Thank you!
Any updates?
@simonsteiner1984 Could you merge the fix please?
Contributor
simonsteiner1984
commented
Feb 16, 2024
Can you add a unit test
nikiJava
commented
Feb 16, 2024
@simonsteiner1984 Sorry, but what kind of test is needed? We need to check what? Bug was reported three years ago and there is no any messages about unit test. I think if you texted about message early author of issue did it.
@bulenkov Excuse me, is it possible for you to continue to fix the bug?
Contributor
simonsteiner1984
commented
Feb 16, 2024
It would be a test run thru junit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
https://issues.apache.org/jira/browse/BATIK-1285
Many modern design tools like Figma and others do not put
offsetattribute when generating a svg image if offset equals0. See https://www.w3.org/TR/SVG/pservers.html#GradientStopAttributesBatik fails with exception while trying to read such svgs. Other programs successfully open these files.
The pull request sets
offsetto0when the attribute is missing.Example of an icon: