EchoSVG milestone release 0.1.1

15 views
Skip to first unread message

admin

unread,
Jun 9, 2021, 4:55:46 PM6/9/21
to css4j
EchoSVG is a SVG toolkit (fork of Apache Batik) that uses CSS4J as its CSS engine.

This second milestone release of the EchoSVG project is intended as a new baseline for future updates.

Summary of changes since the Batik fork:
  • New CSS engine supporting level 4 selectors and RGBA colors (with alpha channel), based on CSS4J.
  • codec and transcoder packages were merged, removing a runtime circular dependency. See #11.
  • Pyhton and Tcl scripting removed (they were already commented out in Batik), see #12 and #13.
  • Removed support for PDF vector image format (which introduced a hidden FOP-Batik circular dependency, see #10).
  • Remove the useless shared-resources package, whose resources are now inserted into the META-INF directory of the jar files.
  • Build system switched to Gradle (#8).
  • The xml-apis-ext dependency was modularized (#15).
  • Generator: support decoration attributes in text elements (#16).
  • Generator: conversions to SVG fonts now support strikethrough-* and underline-* attributes (#17).
  • The regard tests were converted to JUnit (#1) and (most of them) adapted to pass on non-Windows platforms (#21), although some non-trivial work still remains to be done about that.
  • Several bug fixes (some fixed during the initial cleanup, additional ones introduced later).

Usage from a Gradle project

If your Gradle project depends on EchoSVG, you can use this project's own Maven repository in a repositories section of your build file (build.gradle or other):

repositories {
  maven {
    mavenContent {
      releasesOnly()
    }
    content {
      includeGroup 'io.sf.carte'
      includeGroup 'io.sf.jclf'
    }
  }
}

please use that repository only for the artifact groups that it supplies (basically those listed in the above includeGroup statements).

Then you can list the dependencies, for example:

dependencies {
    api "io.sf.carte:echosvg-transcoder:${echosvgVersion}"
}

where echosvgVersion would be defined in a gradle.properties file.

Reply all
Reply to author
Forward
0 new messages