Re: compile errors

2005-03-04 Thread Tonny Kohar
Hi, > BTW: I'm using Java 1.5 to build. If you are using 1.5 try to set the compiler option source to 1.4, hopefully it solve your problem. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com

Re: [Patch] Whitespace Handling in Batik vs ASV

2005-01-31 Thread Tonny Kohar
de, on Level 2 DOM tree between element always have empty Text Node. So I think (I could be wrong) if I can eliminate those empty Text Node correctly, the DOM processing eg: iterating the DOM, looking for certain node, etc could be faster and maybe the DOM memory consumption is better. Regards Tonn

Re: [Patch] Whitespace Handling in Batik vs ASV

2005-01-30 Thread Tonny Kohar
could contains entity, what entity I should consider for? Do I only need to consider the predefined entity in XML spec which is only &, > <, ', " ? How to handle non predefined entity? Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com

Re: [Patch] Whitespace Handling in Batik vs ASV

2005-01-30 Thread Tonny Kohar
t is an XML processor or an > Application) but my reading of the XML spec indicates that Batik can't > strip spaces they must be made available through the DOM. Thanks for the info. So the spaces handling is for DOM not for XML. If the XML spec say so, just ignore the patch :) It is better to

Re: [Patch] Whitespace Handling in Batik vs ASV

2005-01-29 Thread Tonny Kohar
into bugzilla? Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com Index: SAXDocumentFactory.java === RCS file: /home/cvspublic/xml-batik/sources/org/apache/batik/dom/util/SAXDocumentFactory.java,v retrieving

Patch for SVGOMAnimatedPreserveAspectRatio

2005-01-27 Thread Tonny Kohar
Hi, This patch is only commenting the debugging code leftover. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com Index: SVGOMAnimatedPreserveAspectRatio.java === RCS file: /home/cvspublic/xml-batik/sources

Re: Mix SVG and Swing components

2005-01-19 Thread Tonny Kohar
aybe wrap JSVGCanvas and your textfield into custom component and using Java JComponent layer or z-order capability. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: PrintTranscoder run error

2005-01-05 Thread Tonny Kohar
rce > ) > at java.util.ResourceBundle.getBundleImpl(Unknown Source) > at java.util.ResourceBundle.getBundle(Unknown Source) > at > org.apache.batik.util.XMLResourceDescriptor.(xmlresourcedescr > iptor.java:99) > ... 8 more Look like missing properties file, do you include all the j

Re: Whitespace Handling in Batik vs ASV

2004-12-26 Thread Tonny Kohar
mpty). What if it has a > separate value for "xml:space"? This is really quite complex. We have similar problem, and our current workaround (not solution) is once the DOM tree is build, iterate the DOM to find empty Text node and remove it. The larger the Document, the longer the ti

Re: Java SAX and SVG files

2004-11-29 Thread Tonny Kohar
Hi, > Do you suggest any free-ware that converts jpg to svg and conform to > the SVG DTD? Maybe you could try - PoTrace - AutoTrace - Delinate - front end for PoTrace and Autotrace All those available at sourceforge.net Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiy

Re: Java 1.5

2004-10-30 Thread Tonny Kohar
Hi, > Has anyone been able to compile Batik with Sun's j2sdk1.5.0 ? We succesfully compile batik in j2sdk1.5.0, if we use the following option - target = 1.4 - source = 1.4 If using default option, it complain about enum stuff. Regards Tonny Kohar -- Sketsa SVG Graphics Edi

Re: Drawing in a JSVGCanvas

2004-10-16 Thread Tonny Kohar
wing on top of it? I think JSVGCanvas is fine. However, there is parent Object of JSVGCanvas if you might interest: - JSVGComponent - JGVTComponent Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To

Re: Defining of elements lying in rectangle

2004-09-22 Thread Tonny Kohar
ingBox to check/compare with the rectangle. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: submit preserveAspectRatio stuff

2004-08-30 Thread Tonny Kohar
really confuse :) > What should they be? (what years did the development occur in). Actually the development is just recently, few week ago in 2004. What do I need to correct this? Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor htt

Re: submit preserveAspectRatio stuff

2004-08-30 Thread Tonny Kohar
Hi, > Do you have any idea, where the example of > test case is exist in batik dist, so I could study it and create test > case which have similar format to other test case. Ignore this message. I found it already. It is under test-resources and test-sources directory Regards To

Re: submit preserveAspectRatio stuff

2004-08-29 Thread Tonny Kohar
ect updated values) that > would be great. I could write the test case. Do you have any idea, where the example of test case is exist in batik dist, so I could study it and create test case which have similar format to other test case. This time I will use cvs diff stuff to upload the test case

Re: submit preserveAspectRatio stuff

2004-08-29 Thread Tonny Kohar
Hi, >I don't know how much you know about CVS but really the > best way to submit a patch is: > > cvs diff >! PAR.patch Ops sorry, I do not know much about cvs. Thank you for the info, next time when I added patch, I will use cvs diff stuff. I will learn cvs synt

Re: submit preserveAspectRatio stuff

2004-08-27 Thread Tonny Kohar
lement - SVGOMViewElement for preserveAspectRatio support. It is only a simple 1 line change. Do I need to upload these files as well? Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com > Tonny Kohar wrote: > > >>I would like to submit implementation Batik SVG DO

Re: submit preserveAspectRatio stuff

2004-08-21 Thread Tonny Kohar
is attached on the bugzilla. By the way, do I need to change the header file to Apache License 2 ? Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: How to best understand a SVG file

2004-08-10 Thread Tonny Kohar
and like an XML file again? SVGZ file is only gzip format of xml/svg text file. Just use any gzip extractor, it will return to normal xml file again Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To

submit preserveAspectRatio stuff

2004-08-10 Thread Tonny Kohar
Hi, 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. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com

Re: cvs commit...

2004-08-01 Thread Tonny Kohar
Default AttributeInitilizer bug) - bugzilla id 28081 (Enhancement not bug regarding SVG DOM default attribute generator) Thank you Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Transparency with PNG transcoder

2004-07-19 Thread Tonny Kohar
image will display differently over a white background in a viewer that supports transparency. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SVGParser to Renderer

2004-07-16 Thread Tonny Kohar
at is it stored as some > datastructure that the renderer accepts? If I am not wrong it will go like this SVG Document -> Bridge -> GVT -> JSVGCanvas/Renderer For more detail please look at Batik diagram, It is available at Apache batik site Regards Tonny Kohar -- Skets

bugzilla during comiter absence

2004-06-28 Thread Tonny Kohar
still got his fix on my computer) - 28035 (Default AttributeInitilizer bug) - 28081 (Enhancement not bug regarding SVG DOM default attribute generator) Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To

Re: Saving JSVGCanvas images

2004-06-28 Thread Tonny Kohar
Hi, > How can one get the image buffer currently being shown on JSVGCanvas? > I need to save it as jpg/png OR send it to another application. Is > there any method that returns the image buffer?? I think what you want is JSVGCanvas.getOffScreen(); it return BufferedImage Regards To

Re: All quiet on the SVG front

2004-06-24 Thread Tonny Kohar
that went > unanswered in the past. Yes, it is a good idea. My suggestion is to look at the bugzilla. Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: All quiet on the SVG front

2004-06-16 Thread Tonny Kohar
Hi, On Wed, 2004-06-16 at 16:40, Cameron McCormack wrote: > Tonny Kohar: > > Do you have any cvs write access privileges? > > I don't think so; I never tried. I would need to have been given a > username and password, right? Yes, I think you need some username and pass

Re: All quiet on the SVG front

2004-06-16 Thread Tonny Kohar
od start after long stagnation. In other things, I hope Thomas will be back again as usual. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: All quiet on the SVG front

2004-06-16 Thread Tonny Kohar
Hi, > I think Vincent and Thomas agreed at one stage to make me a committer, > but nothing ever came of it. Do you have any cvs write access privileges? Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiy

Re: All quiet on the SVG front

2004-06-15 Thread Tonny Kohar
mmiter finally somehow able to solve the problem with Apache or vice versa, they will take active role again as commiter. Then everyone will happy and Batik project continue. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --

Re: extracting coordinates and timings

2004-06-13 Thread Tonny Kohar
depend on how you generate the Path using Script. You could also listen to DOMMutationEvent to listen for MutationEvent eg: node inserted, attribute change, etc Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --

Re: extracting coordinates and timings

2004-06-10 Thread Tonny Kohar
the current Batik version does not support animation. However, batik support EcmaScript/JavaScript which you may utilize. Check out the batik sample starfield.svg Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com ---

Re: Batik Participation

2004-05-04 Thread Tonny Kohar
iate in this milis, would you like to discuss what particular point in the new Apache 2.0 license that need clarifications. I also would like to know. Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com

Re: fill rule bug?

2004-05-01 Thread Tonny Kohar
Hi, > Tonny Kohar: > > Change on Fill Rule (nonzero, evenodd) does not update the canvas, > > unless the point/coordinated of the element is changed then it will > > update the canvas > > > > Here I attached the sample program to reproduce > > > &g

Re: fill rule bug?

2004-04-29 Thread Tonny Kohar
Hi, > Change on Fill Rule (nonzero, evenodd) does not update the canvas, > unless the point/coordinated of the element is changed then it will > update the canvas > > Here I attached the sample program to reproduce > > Here is the bug id: #26879 Oops. The bug id should be:

fill rule bug?

2004-04-29 Thread Tonny Kohar
Hi, Change on Fill Rule (nonzero, evenodd) does not update the canvas, unless the point/coordinated of the element is changed then it will update the canvas Here I attached the sample program to reproduce Here is the bug id: #26879 Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor http

enhancement for batik SVG DOM default attribute generator

2004-03-31 Thread Tonny Kohar
ExtensibleSVGDOMImplementation.setInitializeAttribute(boolean). The default value is true to keep backward compatible Here is the bugzilla (enhancement) id:28081 I also include the diff attached to this email. Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com ? .nbattrs Index: AbstractElement.java

DTD vs AttributeInitializer, is it bug?

2004-03-29 Thread Tonny Kohar
- SVGOMGradientElement.java --> %SVG.XLink.attrib; * type = simple * show = other * actuate = onLoad - SVGOMFilterElement.java --> %SVG.XLink.attrib; * type = simple * show = other * actuate = onLoad Regards Tonny

Re: Another Newbie question: grouping lines

2004-03-07 Thread Tonny Kohar
to both java and svg so im sorry about what are > probably pretty stupid questions. How about like this draw your freehand stroke object using Java Shape, then convert that Shape.pathIterator into SVG Path Element in one go. or Put that separate joined lines into under single element. Regards

Re: Enhancement for OutputManager (SVGTranscoder)

2004-02-11 Thread Tonny Kohar
gt; > I put it under the package org.apache.batik.transcoder.dom, because I > think it is different from org.apache.batik.transcoder.svg2svg (Source > to Source) and this one is DOM to source. > Last time I send the file got bug, here is the updated version of DOMPrettyPrinter Reg

Re: running batik in eclipse

2004-02-09 Thread Tonny Kohar
gt; Source) > at > org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown > Source) > > > I do know much about Eclipse plugin, but looking at your message, I think you need to change the line xerces_2_3_0.jar into xerces_2_5_0.jar because

Re: Enhancement for OutputManager (SVGTranscoder)

2004-02-07 Thread Tonny Kohar
oder.svg2svg (Source to Source) and this one is DOM to source. Regards Tonny Kohar -- Kiyut http://www.kiyut.com SVG Editor /* The Apache Software License, Version 1.1

Re: Enhancement for OutputManager (SVGTranscoder)

2004-02-05 Thread Tonny Kohar
amespace,etc. I think something like DOMUtilities.writeNode() with PrettyPrinter formating rule. What is your idea? any suggestion? Regards Tonny Kohar -- Kiyut http://www.kiyut.com SVG Editor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Enhancement for OutputManager (SVGTranscoder)

2004-02-04 Thread Tonny Kohar
in this message and here is the bug(not a bug just enhancement) id # 26651 btw, there is no Transcoder group on the bugzilla under batik. So I just put in under utilities group. Regards Tonny Kohar http://www.kiyut.com ? this.diff Index: OutputManager.java

RE: Displaying Java objects on top of JSVGCanvas objects

2004-01-23 Thread Tonny Kohar
Hi, I do not know much about JSVGScrollPane. But if JSVGScrollPane is a true swing component and behave like swing component, you should call validate/revalidate method of scrollpane to enable scrollbar after you resize/change the component that displayed by scrollpane. Regards Tonny Kohar

RE: Draft discussion of Federation proposal

2004-01-05 Thread Tonny Kohar
re on the text and layout XSL-FO is more rich, but they both are different project. Regards Tonny Kohar http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Enhancement for PrettyPrinter

2003-12-12 Thread Tonny Kohar
ound the > change - this way the patch is self documenting and the documentation > gets into the source. > Thanks for the info, next time I will do that. Regards Tonny Kohar http://www.kiyut.com - To unsubscribe, e-

Re: Text Bounding Box

2003-11-05 Thread Tonny Kohar
Hi, If you use the GVT part from batik, you can get then bounding box by calling textNode.getBounds(), that textNode is not SVG TextNode element, but GVT TextNode I think the SVGDOM doesn't define the bounding box for text element, but not so sure either. Regards Tonny Kohar

Re: patch for SVGAnimatedNumberList & SVGNumberList

2003-10-21 Thread Tonny Kohar
Hi, Here is the patch again updated with apache license header on each file. Regards Tonny Kohar On Mon, 2003-10-13 at 05:20, Tonny Kohar wrote: > Hi, > > Since there is still no implementation of SVGAnimatedNumberList & > SVGNumberList. Here is the patch attached for

Re: patch for SVGAnimatedNumberList & SVGNumberList

2003-10-14 Thread Tonny Kohar
ght it is just as simple as changing the header file and add the required batik/apache license on it :) Regards Tonny Kohar http://www.kiyut.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

patch for SVGAnimatedNumberList & SVGNumberList

2003-10-12 Thread Tonny Kohar
)"); return getAnimatedNumberListAttribute (null, SVG_VALUES_ATTRIBUTE, ""); } Regards Tonny Kohar http://www.kiyut.com number_list.tgz Description: GNU Zip compressed data - To unsubscribe, e-mail