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

Fix ArgumentException in SvgTextBase.Bounds when has a whitespace line #963

Conversation

jakard76
Copy link
Contributor

Fix ArgumentException in SvgTextBase.Bounds when a svgtext has a textspan having only whitespace.

Reference Issue

What does this implement/fix? Explain your changes.

Any other comments?

jakard added 2 commits March 24, 2022 16:59
Fix ArgumentException in SvgTextBase.Bounds when has tspan.text is only whitespace
@jakard76 jakard76 marked this pull request as ready for review March 24, 2022 08:10
jakard added 2 commits March 24, 2022 17:16
correct indentation
change test file to plain svg
Copy link
Member

@mrbean-bremen mrbean-bremen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Can you please add your test file to PassingTests.csv (for the unit tests) and PassingTests.txt (for the test runner), and also add an entry to the release notes?

@H1Gdev
Copy link
Contributor

H1Gdev commented Mar 25, 2022

This process does not work with SVG file for this test.
Under what conditions did you check error ?

@jakard76
Copy link
Contributor Author

@mrbean-bremen Sorry, I don't know which release version I shoud update this pull request issue to.

@mrbean-bremen
Copy link
Member

Sorry, I don't know which release version I shoud update this pull request issue to.

Ah, we just had a release - just put it on top of that, you may prepend Unreleased as a header.

Copy link
Member

@mrbean-bremen mrbean-bremen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tnanks - also for the missing png, which I forgot to mention! If you add the release note, we can merge it.

@mrbean-bremen mrbean-bremen merged commit 51597d3 into svg-net:master Mar 27, 2022
github-actions bot pushed a commit that referenced this pull request Mar 27, 2022
…ace (#963) BuildProcessTemplates CONTRIBUTING.md Generators Nuget README.md Samples Source Tests doc docfx.json index.md license.txt Update SvgTextBase.Drawing.cs
 BuildProcessTemplates CONTRIBUTING.md Generators Nuget README.md Samples Source Tests doc docfx.json index.md license.txt add test and release notes
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

Successfully merging this pull request may close these issues.

None yet

3 participants