Skip to content

v1.5.0

Compare
Choose a tag to compare
@weisJ weisJ released this 07 Jun 13:43
· 164 commits to master since this release
adef6dd

Changes:

  • Support for filters on root <svg> nodes #61
  • stroke-dasharray is now inherited
  • SVGDocument now exposes its ViewBox through SVGDocument.viewbox() #69
  • Support for the color-interpolation-filters property. In particular filters are now computed in the correct colorspace.
  • <feComponentTransfor> together with <feFunc[ARGB]> is now supported.
  • Introduce SVGRenderingHints.KEY_MASK_CLIP_RENDERING and SVGRenderingHints.VALUE_MASK_CLIP_RENDERING_ACCURACY to ensure proper mask/clipPath isolation to fix #74 if desired.
  • Support rendering to AWT components #77.
  • Added SVGDocument.renderWithPlatform(PlatformSupport, Graphics2D, ViewBox)

Fixed issues:

  • Improper sub pixel alignment when using masks or filters #62
  • Filters are now clipped to filter primitive regions #70
  • General correctness improvements for filters in particular <feBlend> and alpha compositing.
  • Invalid paths now render up to the point where they are valid #68
  • Unitless values for mask bounds are now correctly interpreted as percentages #75
  • Fix scenarios where masks are applied incorrectly #74

Deprecations

  • SVGDocument.render(JComponent, Graphics2D, ViewBox bounds). Replaced by SVGDocument.render(Component, Graphics2D, ViewBox bounds)
  • JComponentPlatformSupport replaced by AwtComponentPlatformSupport