Robert Casties wrote:
Thomas DeWeese wrote:
Should I rather start with the "root" field from
SVGAbstractTranscoder after its transcode() method? It seems to do
all the necessary preparations.
The problem is that the 'root' field is the GVT tree. The
existing code walks the DOM tree, so unle
Thomas DeWeese wrote:
Should I rather start with the "root" field from SVGAbstractTranscoder
after its transcode() method? It seems to do all the necessary
preparations.
The problem is that the 'root' field is the GVT tree. The
existing code walks the DOM tree, so unless you want to seriou
Robert Casties wrote:
Thomas DeWeese wrote:
Essentially you want to do everything in
batik.transcoder.SVGAbstractTranscoder.transcode method (you
may want to subclass from it) The important thing is that
'isDynamic' must be true otherwise the 'getGraphicsNode' call
will fail (you may not want
Thomas DeWeese wrote:
Essentially you want to do everything in
batik.transcoder.SVGAbstractTranscoder.transcode method (you
may want to subclass from it) The important thing is that
'isDynamic' must be true otherwise the 'getGraphicsNode' call
will fail (you may not want to run onload scripts!)
Thomas DeWeese wrote:
It didn't exist when Batik started, and no one has done the work to
integrate JAXP (across all the applications, build tests to make
sure it works, etc - it's not a large amount of work but in the
end I don't think it would be a very large improvement).
For me it would be
Robert Casties wrote:
Thomas DeWeese wrote:
Yah, it looks like the basic approach would have significant
problems doing this. The biggest issue is the 'piecemeal'
building of the tree:
class PathGenerator:
for (PathIterator path = builder.build (ctx,e).getOutline()[...]
If the code built t
Robert Casties wrote:
Just curius, but why doesn't Batik use JAXP? I understand that it might
not have existed when Batik started but could you not just use it at
least as a fall-back?
It didn't exist when Batik started, and no one has done the work to
integrate JAXP (across all the applicati
Thomas DeWeese wrote:
Robert Casties wrote:
First of all, thanks to the Batik people and Torsten Knodt for Batik
in general and the experimental image map transcoder in special! I had
already been wracking my mind about how to get HTML image maps out of
Batik when I found Torstens patch in his
Thomas DeWeese wrote:
Weiming Zhang wrote:
There are two ways to specify the SAX2 parser Batik should use.
The first, which I think most people use is to provide the resource
file:org/apache/batik/util/resources/XMLResourceDescriptor.properties
which should have the following two properties:
[...
Weiming Zhang wrote:
I included the properties file in the main applet jar that is the first
jar file mentioned in archive statement. But it is still using xerces
parser. Anyway, It seems that my exception is different from the IO
exception mentioned by others. I did sign the applet and the same
a
Thanks a lot.
I included the properties file in the main applet jar that is the first
jar file mentioned in archive statement. But it is still using xerces
parser. Anyway, It seems that my exception is different from the IO
exception mentioned by others. I did sign the applet and the same
approac
Weiming Zhang wrote:
There are two ways to specify the SAX2 parser Batik should use.
The first, which I think most people use is to provide the resource
file:org/apache/batik/util/resources/XMLResourceDescriptor.properties
which should have the following two properties:
How to add the new properti
Fabio Biscaro wrote:
Here i post an example of an svg that i would like to have in a jar.
You can unzip it in your root directory.
I tried to load it by using this java code:
svgCanvas.setUri("jar:file:/jar/qco.jar!prova.svg");
( I tried other combinations too)
The following is what I used on
Gergely Hajdu wrote:
I have tried to do this rasterization, but I cant get the code/parameters
right. How do I easily make this rasterization at a lower resolution ?
Since I am really stuck, code samples would be gratefully accepted.
For now, my code just looks like :
For the resolution you need t
Here i post an example of an svg that i would like to have in a jar.
You can unzip it in your root directory.
I tried to load it by using this java code:
svgCanvas.setUri("jar:file:/jar/qco.jar!prova.svg");
( I tried other combinations too)
But no way. I cant get rid of "Unable to make sense of
Hi, Thomas,
I have been trying to set up an applet using batik. I used following
lines to specify the Crimson parser to avoid the security exception:
XMLResourceDescriptor.setXMLParserClassName("org.apache.crimson.parser.XMLReaderImpl");
But it still gave me the same exception .Then I found your
I have tried to do this rasterization, but I cant get the code/parameters
right. How do I easily make this rasterization at a lower resolution ?
Since I am really stuck, code samples would be gratefully accepted.
For now, my code just looks like :
// create a JPEG transcoder
TIFFTranscoder transco
17 matches
Mail list logo