Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Several parties, especially from the Fedora core, Debian and Wikipedia corners, would like to make use of Batik and FOP on a Free Software tool stack. This is currently not entirely possible as both products cannot be compiled using GCC/GCJ/GNUClasspath.

Wiki MarkupMany of the free JVMs out there (see \[http://www.gnu.org/software/classpath/stories.html#jvm GNU Classpath's JVM list\]) are based on GNU Classpath. GCC/GCJ can be used to compile a Java application to native code which many people would prefer and have repeatedly asked on our mailing lists. \[http://www.ikvm.net IKVM\] could be used to run and directly interact with Batik and FOP in a .NET environment.

What are the problems?

Apache XML Graphics

...

These are the GNU Classpath bugs that have been identified so far as needing to be resolved before Batik will work:

  • 29246 - Toolkit.getLockingKeyState(int) not implemented
    Status: Patch has been supplied.

These are the GNU Classpath bugs that have been identified so far as needing to be resolved before FOP will work:

  • None identified.
  • Wiki Markup
    \[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22938 22938\] - java.awt.BasicStroke.createStrokedShape unfinished
        *Status:* Thomas Fitzsimmons said in \[2\] that he may soon look at this.
  • Wiki Markup
    \[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27940 27940\] - [CairoGraphics2]D doesn't support custom Paint classes
  • Wiki Markup
    \[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29010 29010\] - AttributedString checks for defined attributes incorrectly
        *Status:* Patch has been supplied.
  • Wiki Markup
    \[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29011 29011\] - FreetypeGlyphVector.getGlyphPosition(int glyphIndex) should not throw when glyphIndex == nGlyphs
        *Status:* Patch has been supplied.
  • Wiki Markup
    \[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29012 29012\] - BufferedImageGraphics copy constructor does not copy 'image' field
        *Status:* Patch has been supplied.
  • Wiki Markup\[http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29014 29014\] - TextLayout.getCharacterLevel(int) is not implemented *Status:* Patch has been supplied. \\

IKVM

Wiki Markup
AWT support is quite limited at the moment. Jeremias Märki experienced problems compiling Batik using ikvmc. Details will follow. FOP Trunk, forcefully stripped from all dependencies on Batik, compiled and worked fine in an initial test for PDF output (see \[3\]).

...

Threads on Mailing Lists:

...