FW: BUG in FillShapePainter (batik)

2004-06-01 Thread Thierry Kormann
  From: Roberto Pellagatti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 9:36 AMTo: [EMAIL PROTECTED]Subject: BUG in FillShapePainter (batik) Hello Thierry,I've found the cause of a strange behaviour in Batik:with the following code I get a big dashed line with

RE: Batik transcoder

2002-09-12 Thread Thierry Kormann
> I wrote some time ago a java.awt.Graphics implementation > that outputs (Encapsulated) PostScript code to a stream. > I saw a sf.net project 2 years ago trying to do the same, > submitted my code there, but the project seems pretty dead > now. > > Then I discovered Batik. > > I think it wo

RE: exception with dasharray

2002-08-19 Thread Thierry Kormann
> There seems to be some error in current cvs batik. > I'm guessing that the ComputedValue class is a proxy so that instead of > casting the value it should be calling getComputedValue. > > With the following simple svg file: > height="300.0" > xmlns="http://www.w3.org/2000/svg"; versi

cvs commit failed for Nicolas patch - commit message forward

2002-05-14 Thread Thierry Kormann
--- Below this line is a copy of the message. From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: cvs commit: xml-batik/samples/tests/spec/scripting textAllProperties.svg textpathProperties.svg trefProperties.svg tspan.svg tspanProperties.svg tspan_children1.svg tspan_children2.svg tspan_chil

RE: svg - Graphics Editor - How to manipulate screen objects?

2002-04-16 Thread Thierry Kormann
> I'm a little confused here - are you talking about drawing in a > browser, or > a standalone Java app? both. Thierry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: svg - Graphics Editor - How to manipulate screen objects?

2002-04-16 Thread Thierry Kormann
> I am in the process of developing a Graphics Editor and trying to find the > best way to > detect mouse events on the screen. > > I need to implement functions such as: > Select, Move, Add, Delete, screen objects such as lines, circles etc. > > 1) Where can I put my Mouse listener (which object

RE: Multithreading problems with missing glyphs

2002-04-16 Thread Thierry Kormann
I enter a bug in bugzilla. Thanks for your feedback. Thierry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Updating the DOM...

2002-03-21 Thread Thierry Kormann
> What is the best way to update the DOM tree, and do you need to update the > GVT? Once the DOM is updated do you need to call a graphics function to > tell it to redraw? I was able to extend Batik using the services. It was > really easy. What I need to do now is make the SVG document intera

RE: Memory problem. Urgent !

2002-03-21 Thread Thierry Kormann
> I am creating buffered image from SVG file using StaticRenderer > and GVT tree. I am using the buffered image as image to an icon. > When ever i > resize the icon, i am re-rendering the svg file with new size, > creating the > image again and repainting the icon with new image (same ima

RE: cvs commit: xml-batik/test-references/samples/tests/spec/text smallFonts.png textFeatures.png

2002-03-20 Thread Thierry Kormann
some typo removed. > Bridge cleanup and new features: > >- polish some GraphicsNodeBridge. They are all now a subclass of > AbstractGraphicsNodeBridge >- fix a bug on text ('opacity' was ignored) >- remove support of dynamic gradients (need futher investigations) >- add

RE: SVGDocument

2002-03-06 Thread Thierry Kormann
> SAXSVGDocumentFactory.createDocument(InputSource)!!! Why do we > need the uri > for creating an SVGDocument??? Batik needs the URI of the SVG document to be able to resolve relative URIs that can specified in the document (such as xlink:href on a , ...). Thierry. --

Re: zoomable with scrollable window

2002-02-27 Thread Thierry Kormann
Duong, Lien T wrote: > I like to be able to do zoom in as in the svg brower example but have a > scrollable window. The current svgbrowser only show part of the file. In > stead of using the JSVGCanvas, I modified the source code and got what I > wanted but I couldn't zoom in any bigger than 6400

Re: XForms..

2002-02-27 Thread Thierry Kormann
Anthony Mills wrote: > Does Batik support XForms? Is there any plan to support it? Would a > separate project need to be created to add XForms support? Any help would > be appreciated. At this time, the focus of the batik team is to add dynamic support (scripting and smil animation). There

Re: Need Help!!

2002-02-27 Thread Thierry Kormann
A.Shanmugananthan wrote: > Hi, > > I am using the batik to convert svg file to jpg. But it gives the > back ground color as black. I am not java or xml guy. So I do not know > how to track the cause.Could you do any help in this regard.Its > urgent.Thank you. > An example of the svg f

Re: static/threading problem with SVGFontUtilities

2002-02-21 Thread Thierry Kormann
Keiron Liddle wrote: > Hi Vincent, > > No. It is a new BridgeContext every time a document is processed. > I had a look at it and it seems to me that the problem could be: > In BridgeContext > One thread is at line 225, so that thread knows the fontFamilyMap is not > null. > Another thread then

Re: inquiry about SVG tool kit

2002-01-27 Thread Thierry Kormann
On Sunday 27 January 2002 02:32, shim hyunju wrote: > Hi > I am a student who is learning SVG now. > I downloaded SVG tool kit(batik1.1.1 and batik-src-1.1.1) from apache site. > However I have some problems to use those. > > First, about batik-src-1.1.1 > When I tried to use SVG browser with the

Re: out of memory problem

2002-01-03 Thread Thierry Kormann
On Wednesday 26 December 2001 23:39, Jenny Liu wrote: > Thank you so much for your help! I appreciate it. > > I know my problem is our svg document is too big, but that's the business > requirement, so I have to solve it. I thought about your suggestion to use > Scrollable interface, but I am not

Code example: How to create a java.awt.Image from a SVG file using batik

2001-12-21 Thread Thierry Kormann
org.apache.batik.transcoder.image.ImageTranscoder; import org.w3c.dom.svg.SVGDocument; /** * This class provides a simple and method based API for converting a SVG * document fragment to a BufferedImage. * * @author mailto:[EMAIL PROTECTED]";>Thierry Kormann * @version $Id$ */ public class SVGRasterizer { /**

Re: out of memory problem

2001-12-20 Thread Thierry Kormann
On Thursday 20 December 2001 00:42, Jenny Liu wrote: > We plug batik into our system as a java bean to view our svg documents. And > we still have out of memory problem. > > It can be reproduced by using batik svgbrowser as follows. OK, so there are several things to say. [A] The good news is t

Re: Threading problem

2001-12-17 Thread Thierry Kormann
On Monday 17 December 2001 17:31, Keiron Liddle wrote: > Hi, > > I have run into a threading problem when multiple SVG Documents are having > the GVT built at the same time. > > The attached jar contains a testing class and the svg files it uses. If > this is run then I get a number of exceptions

Re: To view SVG Element

2001-12-14 Thread Thierry Kormann
On Friday 14 December 2001 10:13, you wrote: > Vincent, > > Thanks but how do i access d element of a particular path > because when I try to use the method getAttributeNS(svgNS, "d") with > svgroot which is element of document the it gives me a null value. That should be: getAttributeNS(null, "

Re: ClipBridge has an extra comment that needs to be removed

2001-12-11 Thread Thierry Kormann
On Tuesday 11 December 2001 19:46, r d wrote: > Hello, > > There is a extra /** in ClipBridge.java > on line 39.please remove :-) done, but not committed yet. Thanks, Thierry. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Clip vs. rotate: bug in 1.1?

2001-12-10 Thread Thierry Kormann
On Thursday 06 December 2001 22:42, J. David Eisenberg wrote: > I like version 1.1's speed. I have an odd problem with one test (which > didn't work correctly in earlier versions either). In the following file, > both paths look the same in Adobe SVG 3.0; they look different in Batik. > Who's rig

Re: Batik Website observations ...

2001-12-10 Thread Thierry Kormann
On Monday 10 December 2001 22:16, r d wrote: > > First off great job getting Batik 1.1 out the door!!! > second offNice work on update of Web site! > -the new images look greatreally friendly > and usable... > > Third offThe Batik 1.1 spalsh graphic on the first page > of

Re: OutOfMemoryError!!

2001-11-12 Thread Thierry Kormann
On Monday 12 November 2001 11:36, you wrote: > Hi, > > I have a sample SVG of about 2.76 MB size, and while > displaying it in the JSVGCanvas, it gives OutOfMemory > error!! Please help! BTW: if you can send us the document, please upload it using the koala ftp (not sending it to the mailing lis

Re: OutOfMemoryError!!

2001-11-12 Thread Thierry Kormann
On Monday 12 November 2001 11:36, Prajakta Bhanage wrote: > Hi, > > I have a sample SVG of about 2.76 MB size, and while > displaying it in the JSVGCanvas, it gives OutOfMemory > error!! Please help! Have you tried to grow the java memory size (using the -mx option on the command line) ? Could

Re: cvs commit: xml-batik/test-resources/org/apache/batik/transcoder/image/resources - New directory

2001-10-30 Thread Thierry Kormann
On Tuesday 30 October 2001 16:53, cguillaume wrote: > Batik 1.1, I'm downloading the version developper 1.3 > My problem is that I can't find a way to position by inch X,Y coordinates > for lines, polygones, polylines,... > It seems to be only possible using pixels, isn't it? The problem in your

Re: cvs commit: xml-batik/test-resources/org/apache/batik/transcoder/image/resources - New directory

2001-10-30 Thread Thierry Kormann
On Tuesday 30 October 2001 16:36, cguillaume wrote: > Hi all, > > Just to know how is it possible to work in inch in the application, > and how is it possible to work with graphic elements (such as polyline, > polygone, lines,..) with X, and Y positions in inch like > > > "http://www.w3.org/TR/2

Re: cut and paste fuction in svg Browser

2001-10-26 Thread Thierry Kormann
On Friday 26 October 2001 00:07, r d wrote: > Hello, > > >I would like to make a suggestion for the batik-svgbrowser: > > I like to look at sites on the web using the batik-svgbrowser. > I have one little suggestionthat might make life easiercould the > batik-svgbrowser add cut and pas

Re: where is JSVGApplet not available in batik1.0

2001-10-18 Thread Thierry Kormann
On Thursday 18 October 2001 10:14, Uttam Rao wrote: > Hi Thierry, > > Do you think it as a correct way to use SVG for displaying route maps. > If we use jpeg then we send only a small portion of map for a specific zoom > level. When the user moves right of left then the server sends a new map > f

Re: where is JSVGApplet not available in batik1.0

2001-10-18 Thread Thierry Kormann
On Wednesday 17 October 2001 15:07, Uttam Rao wrote: > Hi Thierry, > > Thanks for your response. > > We are trying to show maps on the browser in svg format. > Our components are reading the data available in our proprietery database > and generate svg maps out of it. > we are getting StackOverflo

Re: where is JSVGApplet not available in batik1.0

2001-10-17 Thread Thierry Kormann
On Wednesday 10 October 2001 23:42, Uttam Rao wrote: > Hello, > > I have downloaded batik1.0 from apache site. But its not showing files like > JSVGApplet etc. > Also files like batik-svgviewer.jar which are mentioned in the examples to > be used with applets are not available. > Or is there any o

Re: Question!!!

2001-10-17 Thread Thierry Kormann
On Thursday 11 October 2001 20:02, annie lu wrote: > Hi all, > > I have a question with xml dom and svg dom. > I am not quite understand how svg dom work, there's a > svg dom interface in w3c specification. But when > coding, we use org.w3c.dom.Element to create a 'rect' > element, this looks the

Re: Early warning: potential breaking interface change ahead

2001-09-25 Thread Thierry Kormann
On Monday 24 September 2001 09:40, Keiron Liddle wrote: > The problem is I (may) need to know the size of the svg when creating the > area tree for the formatting objects. This area tree does not depend on the > output. When I come to render the output the svg graphics node depends on > the outpu

Re: Early warning: potential breaking interface change ahead

2001-09-24 Thread Thierry Kormann
On Friday 21 September 2001 14:08, Keiron Liddle wrote: > On Wed, 19 Sep 2001 14:13:25 Thierry Kormann wrote: > > In order to properly implement getWidth (which was not the case in the > > method > > I were using) - you can have a look at the ImageTranscoder. > > >

Re: Early warning: potential breaking interface change ahead

2001-09-19 Thread Thierry Kormann
On Wednesday 19 September 2001 12:15, Keiron Liddle wrote: > In this case I don't think there is any need for a backward compatible > interface. The thing that I really want is the getWidth method to be > useable when batik1.1 is released. This is a runtime compatibility issue > that I was aware

big commit

2001-09-17 Thread Thierry Kormann
Modified:sources/org/apache/batik/gvt AbstractGraphicsNode.java CompositeGraphicsNode.java CompositeShapePainter.java FillShapePainter.java GraphicsNode.java MarkerShapePainter.java PatternPaint.j

Re: Alternate Stylesheets

2001-09-17 Thread Thierry Kormann
On Monday 03 September 2001 20:45, Matthew Wilson wrote: > Thanks. I have raised bug 3389 on this. > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3389 > > In summary, it should be possible for the author to add multiple > alternative stylesheets with , and allow the user to > select from a

Re: Hardcoded Crimson parser

2001-09-12 Thread Thierry Kormann
On Wednesday 12 September 2001 21:35, Mikael Ståldal wrote: Hi, > OK, but Crimson hardcoded as the default, isn't it? What does that mean? We don't want our users to have to specify an XML parser in order to use batik - so we need to provide one amyway. > > Why isn't JAXP used to find the pa

Re: createDocument not found in interface org.w3c.dom.DOMImplementation

2001-09-05 Thread Thierry Kormann
On Wednesday 05 September 2001 18:05, you wrote: > Here you are the complete code (Proba.java): > > ---// > import java.io.IOException; > import org.apache.batik.dom.svg.SVGDOMImplementation; > import org.w3c.dom.Document; > import org.w3c.dom.Element; > import

Re: Transcoder bug? (long)

2001-08-21 Thread Thierry Kormann
On Friday 17 August 2001 21:35, David Eisenberg wrote: > I'm trying to use Xalan to convert XML to an SVG DOM, > and then pass that to the rasterizer to produce a JPG file. > > > == > If I run this code, I get a Document which, when serialized, looks

Fwd: Re: SVGCanvas has image flickering problem?

2001-08-13 Thread Thierry Kormann
-- Forwarded Message -- Subject: Re: SVGCanvas has image flickering problem? Date: Mon, 13 Aug 2001 10:03:16 +0200 From: Thierry Kormann <[EMAIL PROTECTED]> To: adam lancaster <[EMAIL PROTECTED]> On Monday 13 August 2001 03:47, you wrote: > Attached is the ex

Re: Fill and clip problems.

2001-08-03 Thread Thierry Kormann
On Wednesday 18 July 2001 05:06, J. David Eisenberg wrote: > The spec says you can put into a , but the > file below seems not to clip. > > Also, an attempt to fill text with a linear gradient produces the > error messages shown below. I'm using Batik built from CVS on > 12 July 2001, with > Bat

Re: Alternate style sheets in Batik

2001-07-30 Thread Thierry Kormann
On Monday 30 July 2001 19:10, Matthew Wilson wrote: > Am I right in thinking there is no UI for selecting alternate style sheets > - that is, PIs with 'alternate="yes"' - in Batik? You can specify a user style sheet using the preference dialog box. Does that help? Thierry. --

batik-1.1rc1 Developer build available

2001-07-30 Thread Thierry Kormann
beta1. If you'd like to report bugs or request API changes/improvements, you can either post to the developer list or enter a bug in Bugzilla under the Batik project at: http://nagoya.apache.org/bugzilla/ Thanks. Thierry Ko

Re: updating a GraphicsNode tree

2001-07-17 Thread Thierry Kormann
On Thursday 28 June 2001 16:05, Philippe Converset wrote: > Hi, > > The GVT package seems marvelously suitable to my needs but I've got a basic > problem. > I create from scratch a GraphicsNode tree containing some shapes and render > it in a JGVTComponent. When I try to add a GraphicsNode in the

Re: problems with sizes (viewBox, width, height) bug or feature?

2001-07-17 Thread Thierry Kormann
On Thursday 12 July 2001 15:19, Per-Olof Norén wrote: > Hello batik developers! > First of all i must congratulate to a fantastic effort! > I´m currently working on a cocoon 2-based project, where the ui should be a > tabbed-dialog styled. My idea was to render the tabs as svg, using > batik-trans

Re: ParsedURL vs Accept headers

2001-07-17 Thread Thierry Kormann
On Monday 16 July 2001 18:58, Thomas E Deweese wrote: > Hi all, > >Philipe Le Hegaret was kind enough to submit a sizeable patch to > Batik to enable the proper use of Accept headers and User Agent > headers in Batik. > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1937 > >The o

Re: Gradients and antialiasing

2001-07-12 Thread Thierry Kormann
On Tuesday 10 July 2001 19:38, Thomas E Deweese wrote: Hi, >Since this is your 100% typical speed vs. quality tradeoff it seems > pretty clear that for color-rendering (perhaps shape rendering?) set > to optimizeSpeed gradient anti-aliasing should be off for > optimizeQuality it should be on

Re: Gradients and antialiasing

2001-07-12 Thread Thierry Kormann
On Wednesday 11 July 2001 15:14, Thomas E Deweese wrote: > >>>>> "TK" == Thierry Kormann <[EMAIL PROTECTED]> writes: > > TK> On Tuesday 10 July 2001 19:38, Thomas E Deweese wrote: Hi, > > >> Since this is your 100% typical speed vs. qua

Re: Bug?

2001-07-04 Thread Thierry Kormann
On Wednesday 04 July 2001 13:19, Andreas Bielk wrote: > Here is the situation: > > We add a element to an existing DOM tree with: > > It´s clear that there´s a bug in getNode(), but is that really the problem? > When we serializes the DOM to a textfile Sorry but I don't think there is a bug in g

Re: Arc problem - zero distance

2001-06-29 Thread Thierry Kormann
On Thursday 21 June 2001 14:17, Keiron Liddle wrote: > If I try to render the following svg document batik has some troubles. > The arc starts and finishes in the same place. > > The Graphics2D seems to be getting a pair of "NaN" values for the "lineto" > operator. > > The viewer and the png trans

Re: Infinite loop w. elliptical arc?

2001-06-26 Thread Thierry Kormann
On Tuesday 26 June 2001 02:51, you wrote: > I was (stupidly) trying to draw a complete ellipse with > this: > >fill="none" stroke="black"/> > > Batik 1.0 just hangs up and does nothing; any subsequent > elements are not rendered. The little red "x" icon doesn't go out > either. > > Wh

Re: Is using Batik without an X display possible?

2001-06-20 Thread Thierry Kormann
On Tuesday 19 June 2001 05:01, you wrote: > I am trying to use batik with xml-fop to generate a document > non-interactively. > Java throws an exception when it tries to initialize the > java.awt.SystemColor class > which is referenced from > org.apache.batik.css.value.DefaultSystemColorResolver.

Re: Images imbedded in SVG

2001-06-20 Thread Thierry Kormann
On Tuesday 19 June 2001 23:26, you wrote: > At JavaOne I asked if images could be embedded in an SVG file, and I > understood that they could be. Since then I have looked for more > information and found none. I found the image tag, but the examples just > have links to other files, and not the

Re: new to baltik -- Please help

2001-06-19 Thread Thierry Kormann
On Tuesday 19 June 2001 13:28, sudhir hs wrote: > Hello all, > > I have installed baltik-1.0 on windows nt/95 and set the all required > classpath. at first I have downloaded only user version of baltik and tryed > to run anne.svg through baltik browser which is in baltik-1.0/samples. It > used to

Re: Modified SVG DOM does not get repainted in Netscape on Solaris

2001-06-19 Thread Thierry Kormann
On Monday 18 June 2001 19:12, Sheetal Madasnal wrote: > Hi, > > I am using the 1.0 release of Batik SVG api. I have a class extending the > JSVGComponent and successful in modifying properties of some dom elements > and getting it rendered on the canvas. Using the setSVGDocument() after > modifyi