i have been struggling with getting Flowtext to work
as a downloadable extension (see previous post below).
to fix this problem i want to use my debugger to Step
into the batik source, but when i try to rebuild batik
[build.xml, debug=ON, etc.] i get 100 (limit) of compile
error messages.
 
when i examine my first "rejected" file, (StaticRenderer.java)
i see that the compiler is *correct*!  there is a statement
(line #116) which reads: 
 
renderingHints = new RenderingHints(rh);
 
according to the Java API, class RenderingHints has NO
such Constuctor. i haven't bothered to examine the
rest of my compiler error messages but i expect that
similar bogus statements are there as well.
 
my development environment:
 
Batik-1.6 src (zip)
jdk 1.5.0_03
Win 2K Pro
 
how on earth did an official download (from apache mirror) 
include invalid source?  which mirror should i use to get a
more "accurate" source distribution?
 
btw, i never "validate" my downloads.  would checking
the Keys (as is recommended) have indicated that my copy
was bogus?
 
finally, does anyone have a suggestion to help me cope
with my bigger problem (the Flowtext extension not loading)?
 
thanks.
 
 - ken h.
 
 
previous post:
 
 
flowText.svg loads properly within Squiggle
but i cannot get the "inside" text to
render from my JApplet. if you executed
Squiggle w/out a {batik-extension.jar} in the
<ext> directory you'd get the same result.
i've been through the documentation and user-
list N X. AFAIK i am following batik/java's
"Service" spec carefully.
 
 
SAMPLE CODE (Abbreviated):
 
SAXSVGDocumentFactory f= new SAXSVGDocumentFactory();
Document myDoc= f.createDocument(myURI);
jSVGCanvas.setDocument(myDoc);
 
 
i've examined the batik source. it looks like
using <SAXSVGDocumentFactory> *automatically*
creates an SVGDOMImplementation (default)
instance. although that *should* activate the
Service mechanism to load the DOM extensions,
i don't seem to load any. i have not stepped
into the batik source, however when i examine
LinkedList of extensions at runtime, my list
has Zero length.
 
[snip]

Reply via email to