Skip to content

Conversation

@stephanr
Copy link
Member

@stephanr stephanr commented Sep 29, 2022

This PR is a part of the larger PR #1207

It contains corrections that avoid misrepresentation when height or width are undefined.

The modification in the ShapeHelper does not change the current references of the the class.
It only converts the soft reference to a compile-time reference, so that if Xerces may be removed in future the dependence becomes recognizable.

It also provides a fix when SVG graphics are not properly transformed to Shape (the viewbox/width/height handling was problematic or has become problematic over time)
A parameter deegree.rendering.svg-to-shape.previous was introduced, so that the previous behavior can be re-enabled (for those case when styles have been wrongly set sizes to compensate for the issue)

* fix svg transcoding exceptions when width or height is undefined (<=0)
+ add test for svg transcoding
@stephanr stephanr added the enhancement enhancement or improvement label Sep 29, 2022
@stephanr stephanr added this to the 3.5 milestone Sep 29, 2022
@tfr42 tfr42 added the WMS deegree Web Map Service label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement enhancement or improvement WMS deegree Web Map Service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants