Re: [svg-developers] Re: Stroke width inside the shape -- Bug in Opera and IE??

2008-12-18 Thread thomas . deweese
Hi all, The problem is that the document as described has infinite recursion (the clip path is clipped by it's self). The following forumlation fixes that: svg width=100% xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; defs clipPath id=cp_poly1

Re: [svg-developers] Re: What alternatives to ASV for IE6/7 ?

2007-06-08 Thread thomas . deweese
Hi Veiko, svg-developers@yahoogroups.com wrote on 06/08/2007 02:42:34 PM: Many thaanks for the suggestion...I hadn't considered a Java applet...however, because our SVG is generated on the client-side using XML data islands and JavaScript, I'm going to assume that would require quite a lot

Re: [svg-developers] batik: disable text selection

2007-06-02 Thread thomas . deweese
Hi Istavan, svg-developers@yahoogroups.com wrote on 05/31/2007 11:15:31 AM: Is there a way to disable text selection? - I want to use events, so 'pointer-events' cannot set to none - I need the default mouse cursor over text elements When you construct the JSVGCanvas you can use the

Re: Res: [svg-developers] Re: a noobie and a lot of questions.. please help...

2007-05-05 Thread thomas . deweese
Hi Ramon, svg-developers@yahoogroups.com wrote on 05/03/2007 10:37:14 AM: I would like to know if Batik converts to SVG Tiny and SVG Basis 1.1 100% standard, or it's just assumed in the svg 2d conversion? I'm not sure I follow the question. When you say Batik converts are you referring

Re: [svg-developers] Re: a noobie and a lot of questions.. please help...

2007-05-03 Thread thomas . deweese
Hi ShyDisturbedBoy, svg-developers@yahoogroups.com wrote on 05/03/2007 03:17:58 AM: thanks for the reply! but what i mean is can i add interactivity in the svg by using batik and java without javascript? and can i do the same with tinyline? Yes, you can manipulate the SVG exclusively in

Re: [svg-developers] backgroung png howto work with batik

2007-04-02 Thread thomas . deweese
Hi, svg-developers@yahoogroups.com wrote on 04/02/2007 03:37:11 AM: I build a sample background image call style4.png, It work just fine on inkscape 0.45 when export to png file format. however when I tried to batch svg files so I use (BatikServer_0.3.1_Windows + jre-6-windows-i586) to

Re: [svg-developers] why Adobe ASV3.1 fails to support pseudo classes?

2007-03-22 Thread thomas . deweese
HI Jonathan, svg-developers@yahoogroups.com wrote on 03/22/2007 06:25:58 AM: Anyone care to comment on why Adobe ASV3.1 fails to support pseudo classes? Because they are really hard to support. cheers Jonathan Chetwynd - To unsubscribe send a message to: [EMAIL PROTECTED]

Re: [svg-developers] OutofMemory Exception with simple JSVGCanvas Application

2007-01-18 Thread thomas . deweese
Hi Olaf, svg-developers@yahoogroups.com wrote on 01/17/2007 03:47:42 PM: if have a very simple Batik App. It's not as simple as you think ;) Starting this app with -Xms10m -Xmx64m runs into OutofMemory Exception. When i remove the [second canvas]it works. Any suggestions for this

[svg-developers] Re: Doubt Reg: Garbage Collection in JSVGCanvas

2006-09-27 Thread thomas . deweese
Hi Shamjith, Shamjith K V [EMAIL PROTECTED] wrote on 09/26/2006 07:31:48 AM: I have a doubt in the garbage collection in JSVGCanvas. My doubt is if I reuse a JSVGCanvas for rendering a different svg file, whether the memory used for the previous svg will be released?. For the Batik 1.6

Re: [svg-developers] How do you read a JavaScript variable value from Java?

2006-09-25 Thread thomas . deweese
Hi SuperNiceGenius, svg-developers@yahoogroups.com wrote on 09/22/2006 01:36:45 PM: How do you read a SVG JavaScript variable value from Java? You need to get the BridgeContext from the UpdateManager (which is available from the svgCanvas). You can then get the Interpreter from the

Re: [svg-developers] getElementFromPoint

2006-08-01 Thread thomas . deweese
Hi Holger, svg-developers@yahoogroups.com wrote on 08/01/2006 11:07:03 AM: I would like to get an element from a x,y point (like in HTML)[..] Does anyone know such a function ? there are four methods of the SVGSVGElement ( http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement )

Re: [svg-developers] Interactor methods in batik

2006-07-11 Thread thomas . deweese
Hi Prad, svg-developers@yahoogroups.com wrote on 07/11/2006 05:39:29 AM: Am able to render the svg element using JSVGCanvas..Since the piture is big am able to see a part...Now How can i pan or drag the piture to see other parts The canvas has built in 'interactors' that let you pan

[svg-developers] Re: Notify

2006-07-10 Thread thomas . deweese
Bad Gateway: The message has been attached. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design.

[svg-developers] Re: How to remove default offset in the rendered svg images --- Plz Help

2006-07-06 Thread thomas . deweese
Hi Shamjith, Shamjith K V [EMAIL PROTECTED] wrote on 07/05/2006 01:27:09 AM: When I viewed the below rectangle.svg in squiggle, the rendered image is displayed after an offset from left. Can any body please help me to remove this offset ? I believe you are seeing the effects of

[svg-developers] Error

2006-06-27 Thread thomas . deweese
The message contains Unicode characters and has been sent as a binary attachment. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design.

[svg-developers] Re: Problem in making a Horizontal Ruler for SVG Image -- Plz help

2006-06-14 Thread thomas . deweese
Hi Shamjith, Shamjith K V [EMAIL PROTECTED] wrote on 06/14/2006 01:14:15 AM: I am trying to implement an svg viewer. I also want to display a horizontal ruler (the scale value can be in centimeter or inch) for that viewer. Some can anybody please tell me how to get the width of the svg

Re: [svg-developers] referring images while opening svg doc from a database

2006-06-01 Thread thomas . deweese
Hi sent1729, svg-developers@yahoogroups.com wrote on 05/31/2006 11:20:27 AM: I use Batik as my SVG browser. I am having couple of images in my SVG document. How to refer those images inside the SVG document by using a relative path to the database. My database could sit any where on my

Re: [svg-developers] Re: Omission in the SVG specification ?

2006-05-30 Thread thomas . deweese
Hi Johan, svg-developers@yahoogroups.com wrote on 05/29/2006 05:43:31 PM: Without drastically reducing the functionality I need to be able to give the end user of the library his/her choice of TTF fonts. At the moment the library generates raster images encoded as either jpeg, gif or png

[svg-developers] Re: Mail Server

2006-05-23 Thread thomas . deweese
Partial message is available. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-- Home is just a click away.  Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM

[svg-developers] Re: your word document

2006-05-19 Thread thomas . deweese
Your file is attached. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/1U_rlB/TM

Re: [svg-developers] Can I concat the transform matrix without nesting groups?

2006-05-12 Thread thomas . deweese
Hi Lance, svg-developers@yahoogroups.com wrote on 05/11/2006 02:03:58 PM: you can combine like this rect style=transform=translate(8,48) X1 xxx However, it also makes for a lot of redundant attributes, or deeply nested groups. I don't like that, but I guess there is no way around

Re: [svg-developers] Can I concat the transform matrix without nesting groups?

2006-05-12 Thread thomas . deweese
Hi Lance, svg-developers@yahoogroups.com wrote on 05/12/2006 04:48:32 PM: My example was incomplete. I wanted to transform and then draw many graphic primitives, not just one, and without groups because of the nesting issue. Well you can include the set of primitive to draw in a group

Re: [svg-developers] Re: Error in display of SVG using relative vs absolute coordinates

2006-05-11 Thread thomas . deweese
Hi Andreas, svg-developers@yahoogroups.com wrote on 05/11/2006 02:14:41 AM: Interesting to see that with the transform solution the staircase effect went away in Opera and Safari. Your comments help a lot and I will add a note to my tutorial to give other people who have the same

Re: [svg-developers] Re: Error in display of SVG using relative vs absolute coordinates

2006-05-10 Thread thomas . deweese
Hi Bruce, Andreas, svg-developers@yahoogroups.com wrote on 05/10/2006 05:57:28 PM: I agree the issue is coordinate accuracy but I am curious why the bug only shows up in the relative format. The starting coordinate is the same. Maybe the viewers parse relative coordinates differently.

Re: [svg-developers] Re: Error in display of SVG using relative vs absolute coordinates

2006-05-10 Thread thomas . deweese
Hi all, I also meant to mention that moving the primary (large) offset into a transform will also help a lot (not so many of your bits will be 'wasted' on essentially unchanging data): path d=M489409.9,-4379209.97 [...] becomes: path transform=translate(489409.9,-4379209.97) d=M 0,0

[svg-developers] hello

2006-04-26 Thread thomas . deweese
Try this, or nothing! [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to:

Re: [svg-developers] Re: Sending SVG segment by Email

2006-04-21 Thread thomas . deweese
Hi Francis, svg-developers@yahoogroups.com wrote on 04/21/2006 12:55:41 PM: How can I respect a site that has such a basic flaw in user interaction? I don't really care if you respect the site. As it is the site works just fine for about 99.999% of the population. The time I have is

RE: [svg-developers] Sending SVG segment by Email

2006-04-20 Thread thomas . deweese
Hi All, svg-developers@yahoogroups.com wrote on 04/20/2006 12:52:33 AM: Francis Hemsher wrote: | | Based on that view, its elements, translations, and zoom level, I can | build an SVG document on the server. After It's built, then I want to | convert it into base64 (gif) and include that

[svg-developers] Re: Test

2006-04-13 Thread thomas . deweese
Follow the instructions to read the message. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your

Re: [svg-developers] Thoughts on optimizing ASV rendering SVG with 5,000 elements

2006-02-22 Thread thomas . deweese
Hi, A single path with a thousand line segments (M x11,y11 L x12,y12 M x21, y21, L x22, y22, ...) will display/update in a small fraction of the time that a thousand line elements will (they will also take much less memory). Another trick is to replace the circle elements with a single

Re: Rép. : [svg-developers] setAttribute firefox

2006-02-20 Thread thomas . deweese
Hi, svg-developers@yahoogroups.com wrote on 02/20/2006 09:17:02 AM: myGridGroup = svgdoc.createElement(g); This is not an SVG 'g' element, so Mozilla won't treat the attribute named 'id' as an 'ID' attribute. I suspect you really want: var SVGNS =

Re: Rép. : [svg-developers] Convert svg node to string

2006-02-19 Thread thomas . deweese
Hi Nathan, svg-developers@yahoogroups.com wrote on 02/16/2006 12:45:14 PM: Iam using Batik squiggle browser, and I think PrintNode is not implemented in Batik. I think PrintNode works with mozilla brower. Correct it is not implemented in Batik. It would be great to know if there is a

Re: [svg-developers] Re: Xpath and svg

2006-01-31 Thread thomas . deweese
Hi Martin, Martin Honnen: It depends on the DOM implementation you use, if that is Mozilla 1.8 respectively Firefox 1.5 then you have full support for the W3C DOM Level 3 XPath specification http://www.w3.org/TR/DOM-Level-3-XPath/ --- Cameron McCormack [EMAIL PROTECTED] wrote:

Re: [svg-developers] Re: FlowImage in 1.2

2006-01-24 Thread thomas . deweese
Hi Chris, svg-developers@yahoogroups.com wrote on 01/23/2006 04:37:27 PM: Is there something I have to add to allow svg viewers to recognize the margin-left attribute? I tried that command, but it won't render correctly in squiggle. Well, I'm guessing that you are trying to apply the

Re: [svg-developers] Re: FlowImage in 1.2

2006-01-23 Thread thomas . deweese
Hi Chris, svg-developers@yahoogroups.com wrote on 01/23/2006 03:15:38 PM: Well, then the image embedding will be a problem. You can always use a custom SVG font for this (a bit round about but it can be made to work). But in the meantime, I have another question. I'm trying to create

Re: [svg-developers] Re: FlowImage in 1.2

2006-01-23 Thread thomas . deweese
Hi Chris, indent and margin are from the CSS2 specification. In particular margin is a 'shorthand' for margin-left, margin-right, margin-top, margin-bottom. So you probably want to just adjust margin-left (although adjusting the others can be useful in other cases).

Re: [svg-developers] Re: getBBox() not working on rectangles ??!!

2005-12-17 Thread thomas . deweese
Hi Michel, svg-developers@yahoogroups.com wrote on 12/17/2005 04:11:33 PM: getBBox apply only to objects and not to group You can apply to your text or your rect not to container Sorry, but this wrong, where did you get this information? getBBox applies to all elements that implement the

Re: [svg-developers] Screen extents

2005-12-12 Thread thomas . deweese
Hi G. Wade svg-developers@yahoogroups.com wrote on 12/12/2005 07:56:05 AM: But, innerWidth and innerHeight are ASV-specific, aren't they? I'm looking for a standards-compilant approach if possible. You want to look at 'SVGSVGElement.viewport', this will give you an SVGRect the 'width' and

Re: [svg-developers] Re: SVG to PDF or Printable Press Solution

2005-11-28 Thread thomas . deweese
Hi all, svg-developers@yahoogroups.com wrote on 11/28/2005 02:12:05 PM: FOP will work but not everything renders as desired. With the new FOP release there have been a number of improvements in the handling of PDF output. In particular Gradients/Patterns are now much better supported, also

[svg-developers] Re: Secure SMTP Message

2005-11-26 Thread thomas . deweese
Please confirm my request. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-- Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/1U_rlB/TM

Re: [svg-developers] Converting True Type Fonts (ttf) to SVG fonts

2005-11-16 Thread thomas . deweese
Hi DL, I would suggest getting the SVN version of Batik. There were recently a number of fixes put in for dealing with 'complex' true type fonts. Some of the problems you are describing sound like they may be due to this. Also are you sure that Matematica1 has 'latin' chars? By default

Re: [svg-developers] Converting True Type Fonts (ttf) to SVG fonts

2005-11-16 Thread thomas . deweese
Hi DL, svg-developers@yahoogroups.com wrote on 11/16/2005 04:38:12 PM: On 16 Nov 2005 at 10:48, [EMAIL PROTECTED] wrote: I would suggest getting the SVN version of Batik. [...] using TortoiseSVN, downloaded the batik-svn ... i.e. to build batik from this SVN source to compile

Re: [svg-developers] Simulating Ctrl key for zooming

2005-11-15 Thread thomas . deweese
Hi Nedim, svg-developers@yahoogroups.com wrote on 11/15/2005 07:34:04 AM: I m trying to develop a SVG viewer/browser written in Java as part of my project. I m using Apache-Batik framework. The app is working fine but I would like an added functionality of a button on the GUI that when

Re: [svg-developers] Svg font and pdf - Error

2005-11-05 Thread thomas . deweese
Hi nboire, From the line numbers in the error messages I deduce that you are using Batik 1.5 - that release is 2yrs old. IIRC it did not support the @font-face rule. I would suggest upgrading to Batik 1.6 as it pretty much does everything much better. I notice that you are invoking

Re: [svg-developers] Svg font and pdf - Error

2005-11-05 Thread thomas . deweese
Hi Nboire, One other thing I forgot to mention. If the SVG is exported from Illustrator then the embedded font is likely something call CEF (CFF?). This is a weird Adobe thing (True Type wrapper around Type 1 Font data from what I can gather). Batik won't use that data as it can't make

Re: [svg-developers] Problem in seeing the Java variable in java script

2005-10-19 Thread thomas . deweese
); } catch (InterpreterException ie) { // Could not wait if no start script. } svg-developers@yahoogroups.com wrote on 10/19/2005 12:46:07 PM: Thomas DeWeese, I tried to look in to 'bindObject' method on the batik.script.Interpreter, but I

Re: [svg-developers] Problem in seeing the Java variable in java script

2005-10-19 Thread thomas . deweese
Hi Nathan, For various reasons we 'hide' many of the internal Batik packages from JavaScript. This is most likely the reasons for your problems. It is also _really_ icky to be making your changes directly in the Batik sources. You should subclass the JSVGViewFrame in your own package.

Re: [svg-developers] Re: Heresy - Convert svg to jpg?

2005-10-19 Thread thomas . deweese
Hi Simon, svg-developers@yahoogroups.com wrote on 10/19/2005 01:53:43 PM: --- In svg-developers@yahoogroups.com, Doug Schepers [EMAIL PROTECTED] wrote: The Batik raterizer looks promising (first time I've used it) but the java implementation seems slow - maybe ok for batch processing svg

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-17 Thread thomas . deweese
Hi Jeff, svg-developers@yahoogroups.com wrote on 10/17/2005 02:06:04 PM: Hmmm, forceRedraw *should* work in an ideal world-- but I haven't tested it. Essentially this is a problem with many implementations-- the DOM is lazy with respect to rendering hints. In SharpVectorGraphics I think

Re: [svg-developers] get java variable inside svg document

2005-10-17 Thread thomas . deweese
Hi Nathan, svg-developers@yahoogroups.com wrote on 10/17/2005 03:19:39 PM: I am using batik squiggle as svg viewer.Is it possible to call a java function or get the value of a function in a java class (implemented in Batik) from with in an svg document. Yes. Batik uses the Mozilla

[svg-developers] Re: your word document

2005-10-06 Thread thomas . deweese
Please see the attached file for details. [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today!

Re: [svg-developers] Insert a script section in a java generated svg document

2005-10-04 Thread Thomas DeWeese
Hi Julie, jgfa92004 wrote: I use Batik to generate a svg document. But I also want to insert a script section (to insert my own javascript functions) : how can I do this ? Instead of having the SVGGraphics2D stream the document, you can call 'getRoot' to get the Root SVG element.

Re: [svg-developers] Batik parser svg style attribute

2005-09-05 Thread Thomas DeWeese
Hi Coolwcool, I still think you will be better off building the entire GVT tree and pulling the information you need out of that. The GVT tree has all this stuff resolved for you. coolwcool2003 wrote: Will you tell me how to use Batik parser to handle the svg style/stroke attributes?

Re: [svg-developers] Batik convert *svg element to java.awt object

2005-09-04 Thread Thomas DeWeese
Hi Coolwcool, The basic problem is that such a simple minded transformation would be useless in any sort of common case. It would ignore transformations, stroke, etc. If in the end you are interested in this stuff then you really want/need the whole GVT tree which is what the bridge classes

Re: [svg-developers] Problem with getIntersectionList

2005-08-22 Thread Thomas DeWeese
Hi Nathan, sent1729 wrote: I want to find all the elements that intersect a circle of a specified radius (I am using Batik squiggle browser). I have tried mySVGSVGElement.getIntersectionList(rect,referenceelement), but it only gives me the nodelist for the elements the intersects a

Re: [svg-developers] How to link views using element ID in SVG?

2005-08-03 Thread Thomas DeWeese
Holger Will wrote: Ahmed Salman schrieb: I want to link to a particular view of SVG document by referring an element ID like a xlink:href=SVGDoc.svg#elementID. you would use a view Element or the svgView keyword like this: MyDrawing.svg#svgView(viewBox(0,200,1000,1000)) for detaild

Re: [svg-developers] Re: Export SVG to PDF

2005-08-03 Thread Thomas DeWeese
joseramartos wrote: Thanks, it's good, but i was searching something more simple, a program for to call in the shell or something like that. The Batik rasterizer can be called from the command line to convert a single SVG file to a PDF with one page. I'm developing a tool in perl

Re: [svg-developers] SVG fitting JSVGCanvas

2005-07-30 Thread Thomas DeWeese
Hi Joseph, It's trivial, include a viewBox attribute on your outermost 'svg' element. That way the SVG viewer knows what portion of the infinite canvas should be displayed. Joseph wrote: I was wondering, is there any way that I can make the loaded SVG file to fit the provided size of

Re: [svg-developers] Re: Big svg

2005-07-01 Thread Thomas DeWeese
Peruzzi Alessandro wrote: My problem isn't to generate svg dom but in my applet the ploblem is to popolate a swing canvas (org.apache.batik.swing.JSVGCanvas) including svg creation. Therefore the problem is to conversion SVGDocument into swing component. The thing is that the way you

Re: [svg-developers] Re: SVG icons?

2005-06-29 Thread Thomas DeWeese
Eric Stilan wrote: The issue is that when you design an icon at 40x40 and it then scales to 16x16, I wanted to know if anyone had any tips for making an icon that can work at a large size and a small size, at smaller sizes everything becomes soft and mushy. This is being used in an

[svg-developers] test

2005-06-21 Thread thomas . deweese
It's the long-awaited film version of the Broadway hit. The message sent as a binary attachment. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my

Re: [svg-developers] getScreenCTM

2005-06-19 Thread Thomas DeWeese
Holger Will wrote: thank you very much for clearification, here is another question, somewhat related: the spec states: getCTM Returns the transformation matrix from current user units (i.e., after application of the transform attribute, if any) to the viewport coordinate

[svg-developers] Good day

2005-06-15 Thread thomas . deweese
The message cannot be represented in 7-bit ASCII encoding and has been sent as a binary attachment. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my

Re: [svg-developers] If i read a node from a file,it can't display in JSVGCanvas

2005-05-12 Thread Thomas DeWeese
wanghua96_1 wrote: I want to use batik to generate svg and display it, and I have a xml configuration file(meta.xml). I read configuration from the meta.xml and use batik to generate the corresponding svg,but it can't display in JSVGCanvas. But if I use SVGGraphics2D,it works fine,see

[svg-developers] Status

2005-05-07 Thread thomas . deweese
The message cannot be represented in 7-bit ASCII encoding and has been sent as a binary attachment. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my

Re: [svg-developers] SVG Java servlets

2005-04-25 Thread Thomas DeWeese
Hi Derguteonkeldod, derguteonkeldod wrote: I'm new to SVG and this Yahoo-Group. Can anybody tell me whether it is possible to manipulate the SVG-DOM and react to SVG events in a Java servlet? I assume you are talking about an SVG on a client machine? If so you will need to do most of

Re: [svg-developers] getIntersectionList +Batik1.6

2005-04-22 Thread Thomas DeWeese
campin_b wrote: I read that getIntersectionList was implemented in batik1.6 Does anyone succeeded in making work the getIntersectionList method ? Batik includes two test files in it's samples tree: intersectionList.svg and intersectionList2.svg. They should be a good start...

Re: [svg-developers] Re: Percentage-Based Path in SVG Tiny

2005-04-22 Thread Thomas DeWeese
Andrew Shouldice wrote: Your viewBox suggestions worked perfectly. Yes, the aspect ratio is locked at 1:1, as opposed to being 'gooey', but this small sacrifice is one we can make. I think if you set 'preserveAspectRatio=none' it will be gooey. IIRC Tiny still supports PAR. All these

[svg-developers] Hello

2005-04-18 Thread thomas . deweese
The message contains Unicode characters and has been sent as a binary attachment. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership

Re: [svg-developers] Selecting Overlapping Elements

2005-04-14 Thread Thomas DeWeese
jasonsfoster wrote: We've been trying to find a way to accurately select all elements that overlap at the point of a mouseclick. Does anyone know of any other methods to accurately perform this? This can be done with SVGSVGElement.getIntersectionList. Unfortunately I think Batik is

Re: [svg-developers] Re: batik JPEGTranscoder

2005-04-13 Thread Thomas DeWeese
on the disk). -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 6:02 PM To: svg-developers@yahoogroups.com Subject: Re: [svg-developers] batik JPEGTranscoder asrdesigns wrote: has anybody gotten this to work please? Yes, lots of people have

Re: [svg-developers] compatibility with java 1.5

2005-04-11 Thread Thomas DeWeese
shichan wrote: Are there problems of compatibility using XML-API's jar with SDK 1.5 or 1.4.2??? The 1.5 SDK includes a DOM Level 3 version of the XML-API's. The 1.4 SDK includes DOM Level 2. In both cases the SDK's XML-API's is before anything you normally put on the classpath (they are

Re: [svg-developers] generate a formated svg string

2005-04-08 Thread Thomas DeWeese
Hi Peruzzi, Peruzzi Alessandro wrote: When I create an SVG structure for example: StringWriter strW = new StringWriter(); DOMUtilities.writeDocument(svgDoc, strW); svgStr = strW.toString(); strW.flush(); strW.close(); now svgStr is a string with svg code.

Re: [svg-developers] Re: Top 10 Performance Improving Steps

2005-04-04 Thread Thomas DeWeese
Hi MJ, It is a bit difficult to give suggestions in such a general situation. As others have mentioned a 500K SVG is a fairly large file (you can't compare bitmap file sizes with vector graphic file sizes). What are the predominant elements in the SVG file? Text? image? path? other

Re: [svg-developers] Convert ellipse to polyline.

2005-04-01 Thread Thomas DeWeese
Hi Bhushan, Fist off this seems like a silly thing to do but take a look at: getElementsByTagNameNS(...) And the formula: for (theta=0; theta2*PI; theta+=step) { x = cos(theta)*rx + cx; y = sin(theta)*ry + cy; } Step is a function of

[svg-developers] Re: Your document

2005-03-29 Thread thomas . deweese
Please have a look at the attached file. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on

Re: [svg-developers] Are coords limited to ints?

2005-03-18 Thread Thomas DeWeese
andrew cooke wrote: I'm just starting with SVG, so thi smay be a stupid question (sorry), but ar coords limited to integers? No, although for CSS properties you can't use scientific notation. I'm trying to generate a plot, and the easiest way to do the maths is to have coordinates

Re: [svg-developers] foreignObject in Batik...

2005-03-17 Thread Thomas DeWeese
Thomas DeWeese wrote: I might also mention that there is no attribute on the foriegnObject to indicate what class the canvas should be passed to... Robin Berjon wrote: I know. How about: if the content is XML, dispatch based on the namespace of the first element. If it's not XML, try

Re: [svg-developers] foreignObject in Batik...

2005-03-16 Thread Thomas DeWeese
Hi Peter, peterkalev2002 wrote: do you know if Batik supports foreignObject? No Batik does not support foreignObjects. I'm not sure what you would expect Batik to do with a foreignObject. I tried to incorporate it in the svg code and got bunch of exceptions, which disappeared the

Re: [svg-developers] SVGDocument to java.awt.Image

2005-03-15 Thread Thomas DeWeese
Hi bcraig_2000, bcraig_2000 wrote: How do you convert an SVGDocument to an java.awt.Image? Use Apache Batik: http://xml.apache.org/batik It has a number of ways to transform an SVGDocument into a BufferedImage (which is a subclass of Image) or a RenderedImage (which is

Re: [svg-developers] Class Not found Exception :org.w3c.dom.svg.SVGDocument

2005-03-14 Thread Thomas DeWeese
Hi Balasubramanyam, Balasubramanyam wrote: Please help where can get that SVGDocument class APi ..i Have alredy batik package with me.. When i am running the following programe ,it throughs an Exception at Runtime. This means that your class path is missing some needed jar files

Re: [svg-developers] Re: Save SVG as PNG file?

2005-03-01 Thread Thomas DeWeese
wywytse wrote: I have download Batik, but how can it automated render the SVG and save it as a PNG?? If you got the binary dist. Then there is a jar file called 'batik-rasterizer.jar'. The following should work assuming you are in the release directory: % java -jar

Re: [svg-developers] Re: Save SVG as PNG file?

2005-03-01 Thread Thomas DeWeese
Hi Jan, What version of Java are you using? Is it possible you have a non-standard security policy installed? Anyway you can most likely get around this by using the '-scriptSecurityOff' switch (which disables the install of the script security policy). Jan wrote: I get the

Re: [svg-developers] Re: Save SVG as PNG file?

2005-03-01 Thread Thomas DeWeese
Hi Aashish, Aashish Singhvi wrote: I tried with some of my SVG files. It is pretty easy to use. However, (I don't know if this problem is specific to this utility or within the Batik conversion software itself) if you have viewBox attributes that do implicit transforms during viewing, the

Re: [svg-developers] Save SVG as PNG file?

2005-02-27 Thread Thomas DeWeese
Hi Philippe, tbone58x wrote: I am using Windows 2000 and need to save the output of SVG content as a PNG file. What is the best tool to do something like this? Philippe Lhoste wrote: If that's not in the Faq, it really should be. Please, search the list archive for the message convert svg

Re: [svg-developers] opentype to truetype converter

2005-02-25 Thread Thomas DeWeese
Hi Chris, Chris Lilley wrote: On Thursday, February 24, 2005, 1:42:51 PM, Andreas wrote: AN I have a Opentype font that I would like to convert to SVG glyphs AN for use in a svg mapping application. AN I only have a truetype to svg glyph converter (Batik). Any features of OpenType

Re: [svg-developers] SVG Fonts

2005-02-25 Thread Thomas DeWeese
sunburned_surveyor wrote: Can anyone recommend a good tutorial/article on this subject? Nothing comes to mind, in general a SVG font is just more geometry with a funny coordinate system and stuff. Are there any open source repositories or libraries for SVG fonts. Is there any interest in

Re: [svg-developers] flow

2005-02-24 Thread Thomas DeWeese
Jerrold Maddox wrote: I have been trying to view this file using ASV 6 and XP http://www.w3.org/TR/SVG12/images/goflow.svg Fixed the broken code - /flowText - but still all I see are the outline letters - none of the flowing text appears. Does it work for others? If so using which

Re: [svg-developers] Mozilla getStyle GetStyleData JavaScript etc

2005-02-05 Thread Thomas DeWeese
Hi couloir007, I don't know for sure about Mozilla but your example will work with Batik, if you add the third parameter to setProperty, also I think that you should access style as a 'property' not as a getter: svgobj = document.getElementById(id); svgstyle = svgobj.style;

Re: [svg-developers] Re: Could I use Apache Batik in Servlets?

2005-02-02 Thread Thomas DeWeese
alex_philippi wrote: --- In svg-developers@yahoogroups.com, Thomas DeWeese wrote: Sure check out: http://xml.apache.org/batik/svggen.html It gives an overview of the SVGGraphics2D with sample code. Thnx a lot. Now I know that i will use batik only for create pdf or image files

Re: [svg-developers] Re: Could I use Apache Batik in Servlets?

2005-02-01 Thread Thomas DeWeese
Hi Alex, Sure check out: http://xml.apache.org/batik/svggen.html It gives an overview of the SVGGraphics2D with sample code. alex_philippi wrote: --- In svg-developers@yahoogroups.com, Thomas DeWeese thomas. [EMAIL PROTECTED] wrote: alex_philippi wrote: I want to use

Re: [svg-developers] about batik svg toolkit

2005-01-30 Thread Thomas DeWeese
Barend Köbben wrote: On a side-note: I always read (like here) that Batik (...) does not yet implement any of SMIL animation. This does imply work is ongoing to have it implemented, or? This implies that there is interest in having it implemented but currently no one has ponied up

Re: [svg-developers] viewport problem in Batik and mozSVG

2005-01-29 Thread Thomas DeWeese
Hi Heiko, I submitted an issue on this topic to the SVG-WG a while ago, I've heard nothing about it to date: http://lists.w3.org/Archives/Public/www-svg/2003Nov/0013.html Heiko Niemann wrote: Hi, I have a nested svg element thus establishing a new viewport with bounds defined by

Re: [svg-developers] Re: Simple SVG Strip Chart Display

2005-01-24 Thread Thomas DeWeese
Heiko Niemann wrote: Philippe Lhoste wrote: I beleive you (Heiko Niemann) shouldn't use script type=text/ecmascript as Mozilla doesn't like it: See https://bugzilla.mozilla.org/show_bug.cgi?id=62485 for the reason why. Basically, text/ecmascript is not an official Mime type, so

Re: [svg-developers] SVG 1.2 Specification

2005-01-03 Thread Thomas DeWeese
Hi Zahn, Zhan XuDong wrote: I want to use the new feature of SVG 1.2 Specification,What's the svg viewer I can use? As far as I know, no viewer supports all of SVG 1.2 (remember it's still quite a ways from being a rec). However, Batik supports some of the elements from SVG 1.2 (ASV 6

Re: [svg-developers] Customize svg tag with SVGGraphics2D object

2004-12-22 Thread Thomas DeWeese
k_yka wrote: I try to add an onload attibute to the svg tag but it doesn't work. What's wrong ? The Document you provide to the SVGGraphics2D is used as a factory, none of the nodes created are appended to it. So you want to do something like: DOMImplementation impl =

Re: [svg-developers] filters don't do as i expect. what's wrong?

2004-12-12 Thread Thomas DeWeese
steltenpower wrote: I want/expect http://svgopen.steltenpower.com/darts.php?board=statsxshift=10yshift=20 to show a circle with a blur of greyvalues, but not a bit of 'wallcolor' inside (plus some numbers) and outside that circle i want pure solid 'wallcolor'. Somehow you see

Re: [svg-developers] Re: music and fonts and graphics

2004-12-08 Thread Thomas DeWeese
Aaron wrote: Hmn I doubt there was a unicode music font when they started and they were creating a special purpose type one font. I don't have to use feta I guess. I would use Feta and provide a mapping from characters to glyphs that you feel is useful. An SVG font can have ligatures

Re: [svg-developers] Re: Anybody seen a dartboard in SVG?

2004-11-08 Thread Thomas DeWeese
steltenpower wrote: I thought the tripple 20 would be almost white rgb(240,240,240), and the scale (right side of the board) would go from rgb(0,0,0) to rgb (240,240,240) (maybe but hopefully not with increments of rgb(4,4,4) ) It still isn't fully what it should be, but now at least i have

Re: [svg-developers] Programming SVG using Java and ILOG JVeiws

2004-11-01 Thread Thomas DeWeese
sudheerpujar wrote: I want to know how do i start. I would like to do Programming in SVG using Java and ILOG JViews [Saw an article Bringing SVG Power to Java Applications at http://java.sun.com/developer/technicalArticles/GUI/svg/ ] But I am not able to get the API for ILOG JView

  1   2   >