Bug#327354: libbatik-java: Batik doesn't bring pdf-transcoder.jar
but doesn't work either with fop.
Eric Lavarde
bugs.debian.nospam at zorglub.s.bawue.de
Fri Sep 9 12:42:04 UTC 2005
Package: libbatik-java
Version: 1.5.1-1
Severity: normal
Hi,
I'm trying to package the next version of FreeMind (0.8.0) for Debian,
which has a plugin to export SVG and PDF.
The SVG export works well with the batik package from Debian, but I need
to keep the pdf-transcoder.jar within my package, because fop doesn't
seem to be a proper replacement, even though pdf-transcoder.jar seems
to come from this project.
If I replace pdf-transcoder.jar through fop.jar (from fop 0.20.5-5) in
the FreeMind environment, I get the following exceptions:
org.apache.batik.transcoder.TranscoderException: The specified XML document fragment is not an SVG document
at org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:163)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
at plugins.svg.ExportPdf.startupMapHook(ExportPdf.java:70)
at freemind.modes.ControllerAdapter.invokeHook(ControllerAdapter.java:1583)
I understand the Debian given necessity to remove pdf-transcoder.jar
from the Batik package, but it shouldn't break an essential (for me ;-))
feature of the same. As batik depends on fop for this feature, I place
the bug report on the dependent package (but you might decide
otherwise). At the end batik might recommend a specific version of fop,
with which it works (just an idea).
If the solution is to patch FreeMind to work with batik+fop from Debian,
it's also acceptable if you help me doing this... :->
Thanks, Eric
PS: I work solely with j2sdk1.4 if you wonder about the dependencies below.
-- System Information:
Debian Release: 3.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Versions of packages libbatik-java depends on:
ii java-common 0.22 Base of all Java packages
ii libbsf-java 1:2.3.0+cvs20050308-2 Bean Scripting Framework to suppor
ii libxalan2-java 2.6.0-1 XSL Transformations (XSLT) process
ii sun-j2re1.5 [java2 1.5.0+update03 Java(TM) 2 RE, Standard Edition, S
ii sun-j2sdk1.4 [j2re 1.4.2+08 Java(TM) 2 SDK, Standard Edition,
libbatik-java recommends no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list