Re: Batik memory leak

2004-12-15 Thread Jamie Browning
Thomas DeWeese wrote: Hi Archie, I believe the problem is now fixed in CVS. My test application ran overnight (twiddling the href 20-30 times a sec) with no detectable increase in the baseline heap size (this is ~1million twiddles so the heap would have grown significantly even if a single obje

Re: SVG > PDF Questions

2004-12-10 Thread Jamie Browning
Thomas, Thanks for your prompt and helpful answer. It seems as if there is a world of difference between the "open" PDF specifications and what the Adobe Reader offers. Jamie - To unsubscribe, e-mail: [EMAIL PROT

SVG > PDF Questions

2004-12-10 Thread Jamie Browning
ll-down" through the data. This whole thing is a bit confusing anyway, I mean how does printing relate to dynamic documents, when print is a static medium? TIA Jamie Browning - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Help with Transform

2004-11-23 Thread Jamie Browning
Thomas DeWeese wrote: Jamie Browning wrote: Thanks for the pointer! This code certainly seems cleaner than mine ;-) However it doesn't seem to have fully solved the problem. Perhaps I am missing something above just the implementation of this function. Again I have included my test file to

Re: Help with Transform

2004-11-22 Thread Jamie Browning
Thomas DeWeese wrote: Jamie Browning wrote: Jamie Browning wrote: I am attaching a test file to demonstrate this post. I am attempting to implement getScreenCTM in ECMAScript (due to lack of Adobe support :-(). See samples/solitaire/script/util.js There is a function 'screenCTM

Re: Help with Transform

2004-11-19 Thread Jamie Browning
Jamie Browning wrote: I am attaching a test file to demonstrate this post. I am attempting to implement getScreenCTM in ECMAScript (due to lack of Adobe support :-(). I am looking at the batik source in an attempt to understand how to do this. What I am trying to specifically understand is the

Help with Transform

2004-11-19 Thread Jamie Browning
hat is not the root, how does this affect the matrix from this element to the root. Again does it need to be multiplied by any other factor. Please forgive my ignorance on these matters but I have only a rudimentary grasp of 2d geometry. Thanks i

Re: Separate CSS Engine?

2004-07-16 Thread Jamie Browning
However, as an XML utility, the CSS engine could stand alone. Applying CSS to an XML document is a general task, not limited to SVG. A standalone CSS engine might be useful for other developers working with XML and CSS, using other XML dialects. To achieve this, the properties supported by t

Re: Transforms redux

2004-06-30 Thread Jamie Browning
Thomas DeWeese wrote: Steve Lamont wrote: As a side note/question -- has anyone written a book or other comprehensive reference on Batik? The SVG Specification is somewhat less than an optimal tutorial reference, at least for someone like me, who wants to simply use the API, not develop it. Ya

Re: Minimum implementation of batik - just for viewing SVG files

2004-06-16 Thread Jamie Browning
I will not need the functionality of zooming and rotation. Just for display!! If you are displaying images, and you need none of the functionality of SVG, why not use the JPEG/PNG transcoder on the server-side and deliver bitmap images - no download for your impatient users

Re: Batik Bean

2004-02-23 Thread Jamie
Danny See: http://xml.apache.org/batik/install.html#jarFiles This diagram will tell you which jar files are needed to use JSVGCanvas. If you plan to include scripting it is basically all of them with a few exceptions. I have quite happily added JSVGCanvas bean to component palettes in NetBeans,

Re: Batik Question

2003-12-18 Thread Jamie
Specifically then Thomas, would the call be: documentX = SVGElement.getScreenCTM(DOMEvent.getClientX()); documentY = SVGElement.getScreenCTM(DOMEvent.getClientY()); ?? - Original Message - From: "Thomas DeWeese" <[EMAIL PROTECTED]> To: "Batik Users" <[EMAIL PROTECTED]> Sent: Thursday, De

Re: Java applet to view svg files with Batik; SVG rendering server

2003-11-10 Thread Jamie
Don wrote:   > So I would like use Batik as an applet to download svg files to java enabled > web browsers and view them with interactive scaling and zooming embedded > on a web page. I’ve seen mention of java applets using the Batik viewer canvas, but I haven’t > been able to find any tut

Re: Using the DOMEventListener interface from ECMAScript

2003-11-10 Thread Jamie
Its about time I stopped being so lazy anyway ;-) - Original Message - From: "Thomas DeWeese" <[EMAIL PROTECTED]> To: "Batik Users" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 5:57 PM Subject: Re: Using the DOMEventListener interface from ECMAScr

Re: Using the DOMEventListener interface from ECMAScript

2003-11-07 Thread Jamie
Still unable to get this feature to work. I am slightly suspicious that I have a syntax error somewhere. I have downloaded the latest 'binary' (batik-1.5.zip) but I am now getting the following error: In Event org.mozilla.javascript.WrappedException: WrappedException of java.lang.ClassCast Excepti

Re: Using the DOMEventListener interface from ECMAScript

2003-11-07 Thread Jamie
> Seriously, that release is well over a year old (perhaps > close to two). Which is yet more demonstration of the validity of the architecture/implementation of Batik, IMHO ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Using the DOMEventListener interface from ECMAScript

2003-11-06 Thread Jamie
> You should be using at least Batik 1.5, or you may want to pick up > current CVS (we make nightly source dumps available as well). I am using '1.5 beta 1' - is that not recent enough - To unsubscribe, e-mail: [EMAIL PROTEC

Using the DOMEventListener interface from ECMAScript

2003-11-06 Thread Jamie
I have been using the ASV3 viewer and am currently revising the ecmascript code to get it to work in Batik/Rhino. I realise that Adobe have implemented a number of non-standard features. However one feature that I use extensively is the addEventListener(eventType, listener, useCapture) metho

Re: Interactors

2003-10-03 Thread Jamie
>Action zoomIn = svgCanvas.getActionMap().get(JSVGCanvas.ZOOM_IN_ACTION); This is exactly what I wanted. Thank You. >Interactors are useful when you want to put UI over the top >of the SVG canvas. If you just want to do a 'fixed' action you >are better off not using interactors. What do

Interactors

2003-10-03 Thread Jamie
Forgive me for yet again asking this question: Interactors - what and how?   Specifically, I am constructing a UI with JSVGCanvas as my main component. I have a button on the toolbar which I want to use as a 'Zoom In'. When the user fires the event ...   private void zoomInButtonActionPerfor

Re: interperter exception

2003-08-27 Thread Jamie
- Original Message - From: "Thomas DeWeese" <[EMAIL PROTECTED]> To: "Batik Users" <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 12:41 PM Subject: Re: interperter exception > Jamie wrote: > > AFAIO the correct syntax is: text2.getFirstChi

Re: interperter exception

2003-08-27 Thread Jamie
AFAIO the correct syntax is: text2.getFirstChild(). This is the function you should use in Adobe; from their CurrentSupport.pdf: "The script engine interface technology available on Netscape for the Macintosh does not support writable attributes on interfaces. To work around this limitation, Adobe

Re: Using Batik w/out Plug-In

2003-07-24 Thread Jamie
applications. That was the reason wy we have java at client side.   I do not belief, that the MS JVM is ready to run any natik applications. You are limited to all the AWT stuff !   Jan -Ursprüngliche Nachricht-Von: Jamie [mailto:[EMAIL PROTECTED]Gesendet: Dienstag, 22

Re: Using Batik w/out Plug-In

2003-07-22 Thread Jamie
c machines, they don't work well and this reflects badly on SVG. That said I am still pushing to use Batik on the client-side because it offers the most extensible architecture - from applets to applications. Great work! Jamie - Original Message - From: "Thomas DeWeese" <[

Using Batik w/out Plug-In

2003-07-22 Thread Jamie
aware, it is my boss I have to convince. At the moment I am trying to implement a ComboBox in _javascript_, which is like a broken pencil i.e. pointless.   Thanks in advance   Jamie