cvs commit: xml-batik/sources/org/apache/batik/gvt GVTTreeWalker.java

2004-09-24 Thread deweese
deweese 2004/09/24 03:56:37 Modified:sources/org/apache/batik Version.java sources/org/apache/batik/gvt GVTTreeWalker.java Log: 1) GVT Tree walker can now be given any node in the GVT tree and it walk just that subtree. 2) Fixed header on Version.java

Re: Batik for J2ME as a JSR 226 implementation

2004-09-23 Thread Thomas DeWeese
Hi Ias, Well, I'm not really sure what you are looking for, but on the face of it, it would seem problematic to use Batik for this, as J2ME doesn't currently include any of Java2D which is at the core of Batik. You might be able to borrow significant parts of Batik (like some of the DOM struc

cvs commit: xml-batik/sources/org/apache/batik/util XMLResourceDescriptor.java

2004-09-23 Thread deweese
deweese 2004/09/23 03:18:07 Modified:sources/org/apache/batik/bridge BridgeEventSupport.java sources/org/apache/batik/dom/svg SAXSVGDocumentFactory.java sources/org/apache/batik/extension/svg MultiResGraphicsNode.java

Re: Defining of elements lying in rectangle

2004-09-23 Thread Thomas DeWeese
Hi Jorg, Thomas DeWeese wrote: Well you should be able to call: svg.getIntersectionList(Rect, Element). But that's currently not implemented. If you do it with the DOM don't forget to take transforms into account. This is getting high on my list of things to work on... Jo

Re: Defining of elements lying in rectangle

2004-09-22 Thread Thomas DeWeese
Hi, Well you should be able to call: svg.getIntersectionList(Rect, Element). But that's currently not implemented. If you do it with the DOM don't forget to take transforms into account. This is getting high on my list of things to work on... Dmitrij wrote: Is there is some way to

Re: XML Graphics: board concerns

2004-09-22 Thread Thomas DeWeese
Jeremias Maerki wrote: Does anyone of the Batik and FOP committers have an objection against inviting Bertrand and Keiron into the XML Graphics PMC? I'm happy to have Keiron +1 I don't know anything about Bertrand, so I guess +0. As far as the chair is concerned +0. I'd rather see someone

Re: Fw: Problem with image - big resolution

2004-09-21 Thread Thomas DeWeese
Hi Maciej, The problem is almost certainly that you are running out of memory. A 5000x7000 pixel image takes ~ 140MB in memory, the default Java partition is 32-64Mb so clearly it won't fit. You need to increase the amount of memory allocated to java with the -Xmx command line option. Maciej Św

Re: JPEGTranscoder not releasing file handles - i suspect.

2004-09-15 Thread Thomas DeWeese
Michael Weber wrote: The following code converts a SMIL to JPG and saves it locally – that part of the code works as designed. The problem is that the File delete() and rename() methods in the finally block work only intermittently. When they don’t work, Windows also complains that some proce

Re: Drawing on JSVGCanvas

2004-09-12 Thread Thomas DeWeese
Hi Dmitrij, Dmitrij Sakara wrote: I am developing a simple SVG based graph editor. To do this I use JSVGCanvas and some DOM document. I need to draw the grid in the background of graph. How can I do this? I suppose that it is not good to add all grid-related lines to the DOM document. This

cvs commit: xml-batik/sources/org/apache/batik/dom/util DOMUtilities.java

2004-09-06 Thread deweese
deweese 2004/09/06 11:26:59 Modified:sources/org/apache/batik/dom GenericDocumentType.java sources/org/apache/batik/dom/svg SVGOMDocument.java sources/org/apache/batik/dom/util DOMUtilities.java Log: 1) Can now create a DocumentType node and if present

cvs commit: xml-batik/test-references/samples/tests/spec/text textBiDi-arabic-5-40.png textBiDi-cyrillic-4-24.png textBiDi-greek-0-35.png textBiDi-hebrew-10-20.png textBiDi-latin-0-20.png textBiDi-latin-extended-0-15.png textBiDi.png

2004-09-05 Thread deweese
deweese 2004/09/05 17:02:00 Modified:sources/org/apache/batik/bridge SVGGVTFont.java SVGGlyphElementBridge.java sources/org/apache/batik/dom/svg SVGDOMImplementation.java sources/org/apache/batik/ext/awt RenderingHintsKeyExt.java

Re: [PATCH] Avoid tiling bitmaps for PDF and PS transcoders

2004-09-05 Thread Thomas DeWeese
Hi Jeremias, Jeremias Maerki wrote: I'd like to propose a patch which changes the behaviour of GraphicsUtil.drawImage. By default, bigger images coming from filter effects, for example, are tiled and then rendered to the destination. I experienced ugly overlaps of these tiles within Acrobat Reader

Re: submit preserveAspectRatio stuff

2004-08-31 Thread Thomas DeWeese
Tonny Kohar wrote: All the Copyrights say 2000-2003, I assume this is not in fact correct (or else you've been developing this since before the first dynamic release of Batik ;). I just copy the header file from the latest cvs and some says 2000-2003 some say 2000-2004, I really confuse :) Th

Re: submit preserveAspectRatio stuff

2004-08-29 Thread Thomas DeWeese
Hi Tonny, Two things. First off I can see where the change goes int SVGOMViewElement, but I don't see that SVGOMUseElement has a getPreserveAspectRatio method (although I suppose this could be a bug in the spec). Also can you provide a testcase for this? The simplest thing to do would be to

Re: RFE in svggen

2004-08-29 Thread Thomas DeWeese
Hervé Girod wrote: I'm using Batik to convert other (older or proprietary) vector graphic format in SVG. I'm using the svggen package for that, because then I only need to now the format => Java conversion, and by creating a new transcoder, this is made very simple with Batik. My problem is th

Re: Performance of Batik.dom.svg.SVGOMDocument.getById()

2004-08-29 Thread Thomas DeWeese
Cameron McCormack wrote: I had wondered for a while whether elements with id attributes in shadow trees should be found by getElementById. The shadow trees aren't really in the document tree, so I guess they shouldn't. ASV6 does. ASV6 does lots of things it shouldn't :) More seriously giv

Re: Performance of Batik.dom.svg.SVGOMDocument.getById()

2004-08-28 Thread Thomas DeWeese
;t be counted. Just trying to make it interesting ;) Thomas DeWeese wrote: Cameron McCormack wrote: Ah I see, the SVGSVGElement.getElementById (which I hadn't noticed existed) restricts to the subtree. 2) Adding/removing elements/subtree's. Someone can add a whole subtree to a document an

Re: submit preserveAspectRatio stuff

2004-08-28 Thread Thomas DeWeese
Hi Tonny, I don't know how much you know about CVS but really the best way to submit a patch is: cvs diff >! PAR.patch This is of course UNIX/Cygwin syntax but I think you can get something similar from tools like WinCVS. This will record all the differences in a way that is easy to apply w

Re: Performance of Batik.dom.svg.SVGOMDocument.getById()

2004-08-27 Thread Thomas DeWeese
Cameron McCormack wrote: Ah I see, the SVGSVGElement.getElementById (which I hadn't noticed existed) restricts to the subtree. 2) Adding/removing elements/subtree's. Someone can add a whole subtree to a document and all those nodes need to have their id's added, also when a subtree is removed

Re: extending AbstractGraphics2D

2004-08-27 Thread Thomas DeWeese
- From: "Thomas DeWeese" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 26, 2004 11:05 PM Subject: Re: extending AbstractGraphics2D Hi John, john farrow wrote: I am writing a PDF transcoder, including extending org.apache.batik.ext.awt.g2d. AbstractGraphics2

Re: submit preserveAspectRatio stuff

2004-08-26 Thread Thomas DeWeese
Hi Tonny, I will try and look at this shortly. Updating to the new License would be good. Thanks! Tonny Kohar wrote: I would like to submit implementation Batik SVG DOM preserveAspectRatio part for SVGImageElement. The bugzilla id: 30580 All files are attached on the above bugzilla. I just

cvs commit: xml-batik/sources/org/apache/batik/util Service.java

2004-08-26 Thread deweese
deweese 2004/08/26 17:42:07 Modified:.build.xml lib pdf-transcoder.jar sources/org/apache/batik/dom/svg SAXSVGDocumentFactory.java sources/org/apache/batik/ext/awt/image GraphicsUtil.java sources/org/apache/batik

Re: Performance of Batik.dom.svg.SVGOMDocument.getById()

2004-08-26 Thread Thomas DeWeese
Hi Fritz, Thanks for raising this. This is an issue I had been considering addressing for a _long_ time. It is unfortunately not a really trivial thing to 'do right'. There are three things that jump out at me as being potentially problematic with your current implementation. 1) getElementByI

Re: extending AbstractGraphics2D

2004-08-26 Thread Thomas DeWeese
Hi John, john farrow wrote: I am writing a PDF transcoder, including extending org.apache.batik.ext.awt.g2d. AbstractGraphics2D. Using some SVG like this: When a shape is rendered, if it has no opacity attribute then AbstractGraphics2D.drawShape is and I can render the shape to PDF ok. But

Re: PDF Transcoder: Revisiting transcoder setup

2004-08-26 Thread Thomas DeWeese
. :/ Jeremias Maerki wrote: PDFObject.formatDateTime() is now compatible to JDK 1.3 again. On 16.08.2004 22:26:47 Thomas DeWeese wrote: 1) It looks like a JDK 1.4 dependency has slipped in: java.lang.IllegalArgumentException: Illegal pattern character 'Z' Yes. I will see to that. FOP offi

Re: font problem when changing to jdk1.4

2004-08-25 Thread Thomas DeWeese
[EMAIL PROTECTED] wrote: we switched from jdk1.3.1_11 to j2sdk1.4.2_05 using the same batik1.5.jar on Solaris 5.8. Now the transformed text-images where no specific font is used look different. I thought, when not defining a font, the default will always be "Arial, Helvetica, sans-serif" indepe

Re: PDF Transcoder: Revisiting transcoder setup

2004-08-16 Thread Thomas DeWeese
Jeremias Maerki wrote: The limitation to 72dpi in the PDF transcoder has the undesired side effect of outputting embedded images in a very low quality. Removing it improved quality a lot here. Yah, my original thought was to have the PDFGraphics2D rasterize at something like 150-300dpi (configu

Re: PDF Transcoder: Revisiting transcoder setup

2004-08-15 Thread Thomas DeWeese
Jeremias Maerki wrote: Thomas (and all), I'm currently tracking down differences between the PDF and PS transcoders. The following thread triggered that: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=825221 There's an SVG attached to the first post. It's a SVG with width and h

cvs commit: xml-batik/test-sources/org/apache/batik/test MemoryLeakTest.java

2004-08-01 Thread deweese
deweese 2004/08/01 16:48:47 Modified:.build.xml resources/org/apache/batik/apps/svgbrowser/resources GUI.properties sources/org/apache/batik/apps/svgbrowser JSVGViewerFrame.java sources

Re: cvs commit...

2004-08-01 Thread Thomas DeWeese
Hi Glen, Thanks for reminding us, I will be committing these later today. Glen Mazza wrote: Don't stop there--please apply my two patches (they're simple, as I don't know much about Batik): http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email

Re: SVGParser to Renderer

2004-07-19 Thread Thomas DeWeese
t;fill:blue; stroke:green") Thanks a lot, Sandy. */Thomas DeWeese <[EMAIL PROTECTED]>/* wrote: Sand Print wrote: > Thank you both for your reply. > I looked at the steps link, Cameron- it helped. > Following on that question, I am trying to parse an SVG file

Re: SVGParser to Renderer

2004-07-18 Thread Thomas DeWeese
Sand Print wrote: Thank you both for your reply. I looked at the steps link, Cameron- it helped. Following on that question, I am trying to parse an SVG file using a very light parser. - so I get all the elements and attributes in the SVG file. Now I need to stored it in some local data structur

Re: Extensions

2004-07-13 Thread Thomas DeWeese
Hi Cameron, Cameron McCormack wrote: As part of my main project I'm making a Batik extension, as you might know. I want to make available a new element which acts similarly to a tref element. This element, tval, will generate text content as a result of evaluating an expression. While implementin

Re: RES: More on PSTranscoder

2004-07-07 Thread Thomas DeWeese
Felipe Rech Meneguzzi wrote: We traced the code responsible for the generation of curves instead of text primitives to lines 190-197 of the PSTextPainter class, in particular this > piece: Object rcDel = aci.getAttribute(GVTAttributedCharacterIterator.TextAttribute.TEXT_COMPOUND_DELIMITER); if (

Re: invokeLater/invokeAndWait

2004-07-07 Thread Thomas DeWeese
Hi Piyush, A common problem is that when modifying the document through Java, Batik may consider the document to be static. So you need to set the canvas to 'ALWAYS_DYNAMIC' before loading the document. Also it isn't clear to me from the code below if you are actually 'waiting' anywhere (you

Re: More on PSTranscoder

2004-07-06 Thread Thomas DeWeese
Felipe Rech Meneguzzi wrote: I was looking into the PSTranscoder/Batik code and running a few examples with it and Iâve got a question regarding the Clip box / viewport size. In particular, I would like to know how should be the final rendering of an SVG which does not specify a view

Re: Regard

2004-07-04 Thread Thomas DeWeese
Cameron McCormack wrote: Thomas DeWeese: It is really unfortunate the svggen tests are failing, short of sorting the tags I can't think of a good way to address this issue (I suppose adding support for accepted variation could be one route, but for some reason it doesn't seem as

Re: Regard

2004-07-02 Thread Thomas DeWeese
Hi Cameron, Sorry this is being such a pain... I took a look at the code for the transcoder tests. It doesn't look like they currently support accepted-variation files. This should be added. It is really unfortunate the svggen tests are failing, short of sorting the tags I can't think of

Re: NullPointerException while setting attributes

2004-07-02 Thread Thomas DeWeese
Hi Piyush, I think the problem is that the SVG attributes are in the 'null' namespace not the SVG namespace (this is confusing because the elements must be in the SVG namespace): path[i].setAttributeNS(svgNS, "stroke", namedNodes.getNamedItemNS(svgNS,"stroke").getNodeValue()); getNamedIte

Re: batik and rhino

2004-07-01 Thread Thomas DeWeese
Hi Bob, Robert Zitelli wrote: Is it possible to remove Rhino from batik? Sure, just don't include rhino.jar, of course documents that try to use ecmascript will fail but I think you will still get any static content in the document. From the FAQ, it appears that Rhino provide ECMA script suppo

Re: bugzilla during comiter absence

2004-06-29 Thread Thomas DeWeese
check this by removing or replacing with an 8, the character '∞'. This doesn't help much with identifying the problem font though... Cameron McCormack wrote: Thomas DeWeese: What JDK are you using? 1.4? If so this is likely the problem here. There are some subtle differences i

Re: bugzilla during comiter absence

2004-06-29 Thread Thomas DeWeese
Cameron McCormack wrote: Hi Thomas. Thomas DeWeese: Let me know if you have any other questions about the tool or how to run it. Ok, I downloaded and unzipped the SVG test cases and I'm trying to run "build regard". I get this output: Could not open variation url : file:/ba

Re: bugzilla during comiter absence

2004-06-28 Thread Thomas DeWeese
Hi Cameron, The basic criteria for checking stuff in is running 'regard' on the code. To run regard you need to have a copy of the W3C SVG test suite (the directory should be named 'beSuite') as a sibling of the xml-batik directory. You should be able to get it from: http://www.w3.org/Graphics/

cvs commit: xml-batik/sources/org/apache/batik/transcoder/print PrintTranscoder.java

2004-06-24 Thread deweese
deweese 2004/06/24 18:41:52 Modified:samples/solitaire klondike.svg towers.svg samples/solitaire/cards default.svg samples/solitaire/script board.js card.js pile.js samples/tests/spec/interactivity cursor.svg samples/tests/spec

Re: All quiet on the SVG front

2004-06-23 Thread Thomas DeWeese
Hi all, More good news, I should be resuming my participation in the Batik Project. Apologies for the 'lull in the action'. I will try and go back and respond to major issues/questions but the community may need to be reminded of questions that went unanswered in the past. My thanks to all

Re: All quiet on the SVG front

2004-06-21 Thread Thomas DeWeese
--- --- Begin Message --- +1 > -Original Message- > From: Thomas DeWeese [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 17, 2004 4:28 PM > To: [EMAIL PROTECTED]; Vincent Hardy; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL

Batik Participation

2004-05-04 Thread Thomas DeWeese
Hi all, I know that my silence here has caused some concern. My work on Batik is temporarily suspended while I get some clarifications on the new Apache 2.0 License and what it means from The Apache Software Foundation. - To

Re: Creating a simple Thumbnail.

2004-03-19 Thread Thomas DeWeese
Peter Holland wrote: I am a computer science student and I have recently started working with Batik. Hi Peter, Using the JSVGCanvas example @ http://xml.apache.org/batik/svgcanvas.html I want to add a “Thumbnail” button which would present a thumbnail of the main SVG file to the user. I have

Re: Saving SVG image on a external file

2004-03-18 Thread Thomas DeWeese
Alice Mello Cavallo wrote: I am just starting using SVG and Java. I was able to stream the drawing as a SVG to system.out just using the example from the batik kit site, but how do I save it into a "xxx.svg" file? Hi Alice, Take a look at 'java.io.FileOutputStream' this will let you construc

Re: suggestion

2004-03-18 Thread Thomas DeWeese
Antipin wrote: I've got a problem. I use image, which takes big space e.g. 4x4 px. and so there is a problem with the amount of memory. I've found a compromise. The bigger cache we use the faster the performance will be. I use my own ImageRenderer (DRenderer.java) and RenderedImage (

Re: packing JSVGCanvas setMySize();

2004-03-13 Thread Thomas DeWeese
Danny Browne wrote: Still having problems with this. I tried subclassing the canvas and overiding the setMySize method but the problem remained the same. the canvas is packing the image but it is centering the image and leaving whitespace on either side, thus throwing x & y coords off. Does t

Re: DOMViewer - forgot to attach picture.....

2004-03-11 Thread Thomas DeWeese
Danny Browne wrote: Is it possible to use the DOMViewer in the following way? i want to display the DOM Tree in a panel within the application and display the properties below. See the picture attatched and the panel on the right habd side if you are unsure as to waht i mean. Hi Danny, I don't

Re: aligning images on the JSVGCanvas

2004-03-10 Thread Thomas DeWeese
hanks again... Danny. - Original Message - From: "Thomas DeWeese" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 12:27 PM Subject: Re: aligning images on the JSVGCanvas Danny Browne wrote: All images i display on the JSVGCanvas are be

Re: aligning images on the JSVGCanvas

2004-03-10 Thread Thomas DeWeese
Danny Browne wrote: All images i display on the JSVGCanvas are being displayed in the center of the canvas thus giving problems when calculating x and y coords of elements to be added. any one any idea on how to Pack the canvas or set the image to the top-left hand corner of the canvas? my canvas

Re: Displaying SVG image on Java Canavs

2004-03-09 Thread Thomas DeWeese
Alice Mello Cavallo wrote: Hi all, Is that possible to display thumbnails of SVG files on the paint canvas ? Any hints on how to accomplish this task? The SVG 'image' element? You can construct an SVG file that uses SVG image elements to reference other SVG files. ---

Re: SVGGenerator

2004-03-08 Thread Thomas DeWeese
om svggen - and it is possible you can 'get away' without batik.parser. I have tried to import only batik-svggen and batik-dom, but it did not work, therefore I imported all available. Thanks, Alice At 05:18 PM 3/4/2004 -0500, Thomas DeWeese wrote: Hi Alice, I think you have two proble

Re: JSVGCanvas interactors

2004-03-08 Thread Thomas DeWeese
ob -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 14:35 To: [EMAIL PROTECTED] Subject: Re: JSVGCanvas interactors Hi Rob, I suspect that this is a awt/swing issue. So you need to change the default swing event dispatching in the JSVGCanvas so t

Re: Newbie question: painting delays?

2004-03-07 Thread Thomas DeWeese
Danny Browne wrote: when adding an element to an svg document i am getting a short delay. ie. it takes a second or two for the element to appear after the mouse is clicked. This in it's self is not a major issue but when attempting to draw a free hand line dragging the mouse to quickly causes gaps

Re: JSVGCanvas interactors

2004-03-05 Thread Thomas DeWeese
Hi Rob, I suspect that this is a awt/swing issue. So you need to change the default swing event dispatching in the JSVGCanvas so that when an interactor is active it doesn't dispatch events to child components. To be honest I don't know exactly how this would be done, it might be that you cou

Re: SVGGenerator

2004-03-04 Thread Thomas DeWeese
Hi Alice, I think you have two problems, one easily solved the other not. 1) (easy) You need to upgrade to Batik 1.5.1 or else call 'getGeneratorContext().setPrecision()' on the SVGGraphics2D. This will eliminate the Null Pointer Exception (NPE). 2) SVGGraphics2D doesn't support XOR mode (mo

cvs commit: xml-batik/sources/org/apache/batik/bridge SVGTextElementBridge.java

2004-02-24 Thread deweese
deweese 2004/02/24 02:52:48 Modified:sources/org/apache/batik/bridge SVGTextElementBridge.java Log: 1) Adding elements in the 'null' namespace nolonger causes a NPE exception. Revision ChangesPath 1.91 +6 -6 xml-batik/sources/org/apache/ba

cvs commit: xml-batik/xdocs index.xml security.xml

2004-02-24 Thread deweese
deweese 2004/02/24 02:48:13 Modified:xdocsindex.xml security.xml Log: Doc updates Revision ChangesPath 1.54 +18 -13xml-batik/xdocs/index.xml Index: index.xml === RCS file: /home/cvs/xml

Batik 1.5.1 Release Notes

2004-02-20 Thread Thomas DeWeese
The latest stable Batik version is 1.5.1, which is the recommended version. However, all the builds that were offered earlier are still available in the apache archives. Users of Batik 1.5 are strongly encouraged to upgrade to 1.5.1 due to an issue in script security. Please see the Batik web site

cvs commit: xml-batik/xdocs index.xml mail-lists.xml

2004-02-20 Thread deweese
deweese 2004/02/20 08:34:52 Modified:sources/org/apache/batik/ext/awt/image/rendered ColorMatrixRed.java sources/org/apache/batik/script/rhino BatikSecurityController.java RhinoClassLoader.java

Re: Creating a XHTML + MathML + SVG viewer

2004-02-18 Thread Thomas DeWeese
Daniel J. R. May wrote: Hello, I am interested in having an interactive Java viewer capable of handling XHTML, MathML and SVG (specifically XHTML + MathML + SVG documents, see (http://www.w3.org/TR/XHTMLplusMathMLplusSVG/). There has been a bit of discussion about this sort of thing before:

cvs commit: xml-batik/xdocs/images splash.png splash.svg

2004-02-17 Thread deweese
deweese 2004/02/17 16:14:07 Modified:resources/org/apache/batik/apps/svgbrowser/resources squiggle.png xdocsindex.xml xdocs/images splash.png splash.svg Log: 1) Updated splash screen. 2) Added reference to Sketsa

cvs commit: xml-batik/sources/org/apache/batik/apps/svgbrowser AboutDialog.java

2004-02-17 Thread deweese
deweese 2004/02/17 02:28:15 Modified:.KEYS sources/org/apache/batik/apps/svgbrowser AboutDialog.java Log: 1) Updated KEYS file to include new signatures for my key. 2) Fixed a swing 'pack()' problem in About dialog. Revision Changes

Re: Checking Javascript Syntax

2004-02-14 Thread Thomas DeWeese
Fabio Biscaro wrote: Is there a way to check (parse) javascript syntax before executing in SVG? This is really a rhino question, I believe this possible (I think it is phrased as 'compiling'). If you really just want to check if some javascript is failing you can eval it in a try catch block bu

cvs commit: xml-batik/sources/org/apache/batik/bridge SVGClipPathElementBridge.java

2004-02-14 Thread deweese
deweese 2004/02/14 13:22:40 Modified:sources/org/apache/batik/bridge SVGClipPathElementBridge.java Log: Patch for bug in ClipPath and clip-rule with 'use' element. Submitted by: Cameron McCormack Revision ChangesPath 1.20 +18 -

Re: Updates by a specific Runnable

2004-02-14 Thread Thomas DeWeese
Tjorven Lauchardt wrote: is there a possibiblity to get that time, when all updates of a certain Runnable, that has been given to the runnablequeue of the updatemanager, has been made? I want to invoke a function right then, because I need the canvas rendering transform at that moment. For so

Re: Problem with scaling png image file in svg

2004-02-14 Thread Thomas DeWeese
u please give me some hint and tell me which file should be changed? I guess probably we may take some fop's code to solve this issue, becuase the subsampling works fine in Fop. Thanks a lot. Jay == Subject: Re: Problem with scaling png image file i

Re: Problem with scaling png image file in svg

2004-02-06 Thread Thomas DeWeese
Jay Chiu wrote: I tried with Batik Squiggle for the png images. If I does not use , the png image looks good in the GUI, it does get scaled properly. But image with scale() transform attribute losses quality, and the png file generated by Squiggle is in bad quality. The problem is that you are

Re: SoftDoublyIndexedTable for storing LiveAttributeValues

2004-02-06 Thread Thomas DeWeese
Hi Cameron, Cameron McCormack wrote: My implementation of animation is (slowly) progressing. I noticed just now a bug in my program where some elements were forgetting their animated attribute values. I see that dom.svg.AbstractElement is using a SoftDoublyIndexedTable to store the (namespace,

Re: invokeAndWait problem

2004-02-06 Thread Thomas DeWeese
Tjorven Lauchardt wrote: Hi, I have a question about the invokeAndWair() method of RunnableQueue. This code: getCanvas().getUpdateManager().getUpdateRunnableQueue().invokeAndWait(new NoRepaintRunnable() { public void run() {...} }); crashes every time into an IllegalStateException "Cannot b

Re: Rhino and BatikSecurityController

2004-02-05 Thread Thomas DeWeese
Igor Bukanov wrote: On Thu, 05 Feb 2004 11:03:36 -0500, "Thomas DeWeese" <[EMAIL PROTECTED]> said: ... however my understanding is that script security is implemented using the Java 2 Security model in particular it puts _all_ the rhino classes in the sand box[*]. I'm sure

Re: Rhino and BatikSecurityController

2004-02-05 Thread Thomas DeWeese
Igor Bukanov wrote: Antoine Levy-Lambert has posted a message at netscape.public.mozilla.jseng newsgroup about an incompatible change in Rhino CVS tip that caused Batik to fail during compilation. First, thanks for the error report, the changes in Rhino were supposed to be backward-compatible an

Re: Enhancement for OutputManager (SVGTranscoder)

2004-02-05 Thread Thomas DeWeese
Tonny Kohar wrote: hi, I would like to submit enhancement for OutputManager. This patch will format the attrib to have new line on the specified documentWidth and indent the newline according to getTabulationWidth useful for example to format very long path element d attribute. There is a pro

cvs commit: xml-batik/sources/org/apache/batik/bridge BridgeEventSupport.java

2004-02-04 Thread deweese
deweese 2004/02/04 18:53:45 Modified:contrib/scroll ScrollExample.java sources/org/apache/batik/bridge BridgeEventSupport.java Log: 1) Fixed a bug in mouse coords for text events that caused the incorrect element to be used as the target of the events

Re: Change doc without repaint

2004-02-04 Thread Thomas DeWeese
Tjorven Lauchardt wrote: Thomas DeWeese wrote: Uhh, so you want the document update and the rendering transform change to be treated 'atomicly' no intervening repaint, correct? If so you have two options: 1) Use the setRenderingTransform(rt, false) before you change

Re: Build of xml-batik on gump

2004-02-04 Thread Thomas DeWeese
Antoine Lévy-Lambert wrote: As you have seen from the nag mails coming from the lsd gump instance, we are currently not able to build xml-batik on gump. [1] I need xml-batik indirectly to build ant-xdocs-proposal, but it affects a large part of the gump projects. [2] Would you be so kind to fi

Re: Change doc without repaint

2004-02-04 Thread Thomas DeWeese
Tjorven Lauchardt wrote: thank you for your help with my othe rproblem, I will come back to that later. Now, I got to a bigger problem: I want to change the SVG document, that is displayed by a JSVGCanvas. So, I put the changes in the run-methode of a new runnable, I add to the runnablequeue of

Re: Saving SVG Document to file with CSS

2004-02-04 Thread Thomas DeWeese
Hi Tjorven, It does look like there may be a bug here. The batik.svggen.XMLWriter doesn't seem to output processing instructions, however looking at the code it would appear that it would throw an exception which you don't seem to be reporting. Additionally the code you show wouldn't actually

Re: Enhancement for OutputManager (SVGTranscoder)

2004-02-04 Thread Thomas DeWeese
Hi Tonny, Tonny Kohar wrote: I would like to submit enhancement for OutputManager. This patch will format the attrib to have new line on the specified documentWidth and indent the newline according to getTabulationWidth useful for example to format very long path element d attribute. There is

Re: Any release plans?

2004-02-04 Thread Thomas DeWeese
Baron, Randy {PRG~Basel} wrote: I was wondering if anyone knows if there might be plans for a 1.5.1 release. I saw a message about it in November, http://koala.ilog.fr/batik/mlists/batik-users/archives/msg04679.html, and then Batik 1.5.1 release candidate 2 came in December but nothing since th

Re: Selection box over everything

2004-01-30 Thread Thomas DeWeese
Fabio Biscaro wrote: Hi, is there a way to make selection highlight go under svg images? If you wanted to write code you could introduce an underlay that is similar to an overlay, but of course if the document has an opaque background the 'underlay' would be invisible. I noticed that selection

Re: proposed changes to PrintTranscoder

2004-01-30 Thread Thomas DeWeese
[EMAIL PROTECTED] wrote: Greetings everybody, I'd like to contribute to Batik and propose the following: Hi Maik, This is nice to know. In order to make contributions it is necessary to have a signed CLA (Contributors License Agreement) on file with the Apache Software Foundation. Situation:

Re: scripting on custom audio and video tags

2004-01-27 Thread Thomas DeWeese
Gurleen Randhawa wrote: -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 3:01 PM To: Batik Users; [EMAIL PROTECTED] Subject: Re: scripting on custom audio and video tags Gurleen Randhawa wrote: I have created an audio and a video tag

Re: scripting on custom audio and video tags

2004-01-26 Thread Thomas DeWeese
Gurleen Randhawa wrote: I have created an audio and a video tag. What do you mean by 'created'. Do you mean that you implemented them from the SMIL/SVG 1.2 spec? Or do you mean that you added these tags to a document? Now I want to use scripting and handle various events associated with th

cvs commit: xml-batik/sources/org/apache/batik/swing/svg JSVGComponent.java

2004-01-24 Thread deweese
deweese 2004/01/24 17:49:47 Modified:.build.xml sources/org/apache/batik/script/rhino RhinoInterpreter.java sources/org/apache/batik/swing JSVGScrollPane.java sources/org/apache/batik/swing/svg JSVGComponent.java Log: 1) Patch for

Re: Displaying Java objects on top of JSVGCanvas objects

2004-01-23 Thread Thomas DeWeese
ved all my problems which I wouldn't have done on my own... Glad to hear it! Rob -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: 22 January 2004 16:59 To: [EMAIL PROTECTED] Subject: Re: Displaying Java objects on top of JSVGCanvas objects Wilkins, Rob

Re: Displaying Java objects on top of JSVGCanvas objects

2004-01-22 Thread Thomas DeWeese
back of ScrollListener, or move the decision to be 'ready' up to the GVTBuildCompleted callback. Thanks again, Rob -----Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: 22 January 2004 13:16 To: [EMAIL PROTECTED] Subject: Re: Displaying Java objects on

Re: Displaying Java objects on top of JSVGCanvas objects

2004-01-22 Thread Thomas DeWeese
do this then I think all my current problems will be resolved. I think the above does this. Thanks, Rob -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: 20 January 2004 14:19 To: [EMAIL PROTECTED] Subject: Re: Displaying Java objects on top of JSVGCanvas objec

cvs commit: xml-batik/xdocs installing.xml javaScripting.xml jsvgcanvas.xml security.xml

2004-01-21 Thread deweese
deweese 2004/01/21 17:49:58 Modified:.build.xml lib pdf-transcoder.jar xdocsinstalling.xml javaScripting.xml jsvgcanvas.xml security.xml Added: samples/solitaire klondike.svg towers.svg samples

cvs commit: xml-batik/samples/solitaire/cards - New directory

2004-01-21 Thread deweese
deweese 2004/01/21 17:43:04 xml-batik/samples/solitaire/cards - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-batik/samples/solitaire/script - New directory

2004-01-21 Thread deweese
deweese 2004/01/21 17:43:04 xml-batik/samples/solitaire/script - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: xml-batik/samples/solitaire - New directory

2004-01-21 Thread deweese
deweese 2004/01/21 17:42:30 xml-batik/samples/solitaire - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Service.java in org apache batik util

2004-01-21 Thread Thomas DeWeese
Jonathan Arnold wrote: Hi, I've created an applet which uses the functionality of the JSVGCanvas in the batik framework. I am hosting this applet on a tomcat 4.1 webserver. When I run the applet locally, I have absolutely no problem. The applet loads fast and the documents are also rendered pretty

Re: Displaying Java objects on top of JSVGCanvas objects

2004-01-20 Thread Thomas DeWeese
Hi Rob, Wilkins, Rob wrote: I spent the last two days re-working our code that overlays objects on the SVG. Using your suggestion of overriding setRenderingTransform() method. The good news is I have got almost all of the shape updates (in response to changes in the SVG rendering transform) worki

Re: Fonts use in SVGGraphics2D

2004-01-18 Thread Thomas DeWeese
Hervé Girod wrote: >> Are you modifying the document outside >>of the UpdateManager RunnableQueue? Yes I do... This is why you aren't getting updates (when a runnable completes it checks if there are dirty regions, if there are it arranges for a repaint). It also means that you would likely ev

Re: Fonts use in SVGGraphics2D

2004-01-18 Thread Thomas DeWeese
Hervé Girod wrote: [...] After a while, I understood my mistake : somehow (without being aware of it), I called (indirectly) the renderGVTTree() method of JGVTComponent without releasing the ImageRenderer, this leading to a Stack overflow exception at the end. But may be I don't use the good way t

<    1   2   3   4   5   6   7   >