Skip to content

Choose a tag to compare

@carlosame carlosame released this 27 Nov 17:42
· 5 commits to release-2x since this release

New transcoder rendering hints

  • KEY_DEFAULT_WIDTH specifies the default width of the image to create. It is overridden by the width of the topmost svg element and by KEY_WIDTH if available.

  • KEY_DEFAULT_HEIGHT specifies the default height of the image to create. It is overridden by the height of the topmost svg element and by KEY_HEIGHT if available.


Changes since 2.5

  • awt: use reasonable maximum values for radX,radY in MorphologyRable8Bit.
  • awt: register the gif extension with the JDKRegistryEntry.
  • awt: improve the limited (and buggy) support for Gif images in ImageTagRegistry.
  • bridge: prevent NPE on invalid references.
  • bridge: compute lh and rlh units correctly in UnitProcessor.
  • bridge: additional circularity check in indirect <use> references.
  • bridge: URL verification in ScriptingEnvironment [BATIK-1396]. Adapted from work by Joao Gonçalves joao12021996.
  • bridge,gvt: use a default value for negative font sizes.
  • css: avoid NPE in non-conditional @import rules.
  • css: avoid class cast exception in CSSEngine.
  • css: allow fonts with unquoted unit-like names e.g. "Mplus 1p", "Slabo 13px".
  • transcoder-svg: new KEY_DEFAULT_WIDTH and KEY_DEFAULT_HEIGHT transcoding hints.
  • util: validate redirections [BATIK-1403]. Adapted from work by Joao Gonçalves joao12021996.
  • util: add URI constructors to ParsedURL and ParsedURLData.
  • wmf: WMF Record Size Integer Overflow [BATIK-1401].
  • wmf: use ISO-8859-1 as default when decoding strings.
  • Tests: add the resvg test suite #140.
  • Tests: switch to URI/Path operations #125.
  • Tests: as a consequence of previous change, do not run the RelativeURI test from the transcoder helper test.
  • Tests: new echosvg-test-latest-java testing project.
  • Tests: add SVGImageElementBridge test adapted from Batik's SVGImageElementBridgeTestCase. From commit by Simon Steiner https://github.com/simonsteiner1984.
  • Tests: add SVGUseElementBridge test adapted from Batik's SVGUseElementBridgeTestCase. From commit by Joao Gonçalves https://github.com/joao12021996
  • Tests: add two scripting tests that were missed.
  • Tests: remove a field that shadows a superclass field in SVGTextContentRenderingAccuracyTest.
  • Tests: add unit tests for CSSEngine.
  • Tests: use class own's getResource() in Lookup and Rescale painter tests.
  • Tests: fix small typo in svggen tests.
  • Tests: fix a comment typo in SamplesCanvgRenderingTest.
  • Gradle: fix two errors when opening the project with the Eclipse IDE.
  • Upgrade to css4j 6.2.2.
  • Upgrade to dependency-check-gradle 13.0.0.
  • Upgrade to gradle-license-report 3.1.5.
  • Upgrade Gradle wrapper to 8.14.7.
  • Upgrade to actions/checkout v7.
  • Upgrade to actions/setup-java v6.
  • RELEASE_HOWTO: Maven repo index generation uses new script.