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: http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";> -svg-develop...@y

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 lo

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 fol

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 referrin

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 i

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)

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 PROT

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 be

[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

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 BridgeC

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. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1

[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 viewB

[svg-developers] Error

2006-06-26 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. http://us.click.yahoo.com

[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 sv

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/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] 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 > > > 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 > that at this time? I don't see any

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 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): > > wrote: > > > > > > hm, I'd be interested to know whats the problem here, as well. > > > > > > I teste

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.

[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-23 Thread thomas . deweese
Hi all, svg-developers@yahoogroups.com wrote on 04/22/2006 06:55:52 PM: > I agree, Ronan. I guess it's in my nature to overreact to things that > bother me. Batik looks good. Do you think? ;) > Ronan Oger wrote: > > > > Francis, there is no learning curve involved. > > > > Batik comes wi

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

[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 g

Re: [svg-developers] Ligature Support for Arabic in SVG

2006-02-23 Thread thomas . deweese
Hi Karson, svg-developers@yahoogroups.com wrote on 02/23/2006 01:05:49 PM: > I got the same problem as well. > The contextual shaping and ligature didn't happen. > I see it displays character by character. Is there some kind of SVG > attribute that I need to set in order to see the characters "

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 pa

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

2006-02-20 Thread thomas . deweese
Hi, > >>> [EMAIL PROTECTED] 20/02/2006 15:31 >>> > ok very interesting, it seems to be a question of namespaces isn't it? > if i understand IE is permissive and forgot to define namespaces but does > firefox respect the w3c, > i didn't read something like (createElementNS)that on w3c's site??

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 = "http://www.w3.org/2000/

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: getBBox() error

2006-02-17 Thread thomas . deweese
Hi Rodolfo, The problem is that their is no way to evaluate the bbox of the text in the symbol. First off the symbol isn't in the rendering tree (so has no geometry info), second even if you tried to ignore this you would have to deal with the fact that when the symbol is used the used inst

Re: [svg-developers] JSVGCanvas - display coordinate

2006-02-15 Thread thomas . deweese
Hi rafiqy, svg-developers@yahoogroups.com wrote on 02/13/2006 12:50:53 PM: > I'm trying to display coordinates when the cursor moves over the SVG > map - I'm using JSVGCanvas, has anyone got any idea how_to pls? This is a difficult to answer question because there are so many ways it could b

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 > > > > --- Cameron McCormack <[EMAIL PR

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, 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). svg-developers@yahoo

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 s

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 th

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' an

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] Re: anti-aliasing problem

2005-11-23 Thread thomas . deweese
Hi, I have one more suggestion you may want to try, use 'fill-opacity' instead of 'opacity'. Given the situation I suspect that this will work, and may also improve rendering performance significantly. When you use opacity it must render the fill and stroke to an offscreen image and then co

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 bat

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] 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, 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 sense

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 Bati

[svg-developers] Re: Re: read it immediately

2005-10-20 Thread thomas . deweese
Your document is attached. [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! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/1U_rlB/TM -

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 processin

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] Problem in seeing the Java variable in java script

2005-10-19 Thread thomas . deweese
(REGARD_START_SCRIPT); } 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' me

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

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

[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! http://us.click.yahoo.com/cd_AJB/QnQLAA/Ttw

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. Ap

[svg-developers] Re: Thank you for delivery

2005-10-01 Thread thomas . deweese
Please read the attachment to get the message. +++ Attachment: No Virus found +++ MC-Afee AntiVirus - www.mcafee.com [Non-text portions of this message have been removed] Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools to help you find a job)

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 b

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] 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 per

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 . > > you would use a Element > or the svgView keyword like this: > MyDrawing.svg#svgView(viewBox(0,200,1000,1000)) > for detaild information see: > http://www.w3

Re: [svg-developers] Re: Is it possible to capture software screens direct into SVG?

2005-07-30 Thread Thomas DeWeese
Jim wrote: > Hello Holger, > > Thanks for the link to the application. > > I am trying to capture hundreds of software screens that have to be > saved, rendered and/or exported to SVG format. > > I am looking for a way to get pixel to vector conversion or straight > vector conversion from a vi

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 JS

Re: [svg-developers] Re: Convert type to paths with SVG

2005-07-08 Thread Thomas DeWeese
Sherm wrote: > I can manipulate the text size (as your other script suggests), but > that doesn't really solve my problem. I need to be able to keep the > text the same height and squeeze it into tighter horizontal spaces. > And, kerning the text together isn't enough, especially if the text >

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 yo

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 inte

Re: [svg-developers] SVG fonts in ASV

2005-06-26 Thread Thomas DeWeese
Hi Cameron, Phillipe, Cameron McCormack wrote: > Philippe Lhoste: > >>After some experimentation, it seems that ASV needs a missing-glyph >>element inside the font one. >>After I added one, it works fine, but of course (?), the glyphs E, L and >>O are rendered with the missing-glyph, not with t

Re: [svg-developers] getScreenCTM

2005-06-23 Thread Thomas DeWeese
Thomas DeWeese wrote: >>To be a little more explicit on why I don't consider this >>implementation at all conformant the definition of getCTM is >>very clear that it goes from the _userspace_ of the current element. >>This is also very clearly defined for the SVG e

Re: [svg-developers] getScreenCTM

2005-06-23 Thread Thomas DeWeese
Hi Jeff, Jeff Rafter wrote: > Yes, upon further review I consider this a bug in my code. I think I > have pinpointed how I came to the conclusion I did at the time and have > outlined it, along with the rest of my thoughts on getCTM in this document: > > http://jeffrafter.com/svg/tests/getCTM.

[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 memb

Re: [svg-developers] getScreenCTM

2005-06-20 Thread Thomas DeWeese
Hi Jeff, Will, > Jeff Rafter schrieb: >>I am not sure you are taking into consideration the fact that the >>outermost SVG doesn't return a viewport for the nearestViewport element. >>For this reason I divide the concepts of viewport and viewrect. In my >>interpretation getCTM and getScreenCTM

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 coo

Re: [svg-developers] getScreenCTM

2005-06-19 Thread Thomas DeWeese
Hi Holger, Holger Will wrote: > oh sorry, its exactly the opposite... this is so confusing :-) It's very easy to get turned around with Affine Transforms. > ASV6 and Batiks currentTransform and currentScale are in viewPort > coordinates, mozillas are in viewBox coordinates, so this is a bu

[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 memb

Re: [svg-developers] convert Java2D shapes to SVG

2005-06-09 Thread Thomas DeWeese
Hi Sylvain, I would suggest using the Apache Batik project's SVGGraphics2D implementation. This is an implementation of the Java2D Graphics2D interface that constructs an SVG Document. Read about it at: http://xml.apache.org/batik/svggen.html Sylvain Caillet wrote: > How could i co

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 co

Re: [svg-developers] Re: batik

2005-05-09 Thread Thomas DeWeese
Hi Hago, Hago Ziegler wrote: > Thank you, that works. > I wonder why they don't tell something like that on the Batik-site. There were versions of unzip that didn't set permissions properly. The Java 'jar tool'. The reason the 'jar' command didn't work is probably because you installed a JR

[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 memb

Re: [svg-developers] How to pann a svg Document using java Batik

2005-05-03 Thread Thomas DeWeese
Hi Shayer, You might find the Batik mailing lists a little better for Batik specific questions: http://xml.apache.org/batik/mailList.html Shayer Huda wrote: > I am new user of Batik. I am not sure whether it is the right group or > not to ask any batik related development. I hope yo

Re: [svg-developers] batik memory footprint

2005-05-03 Thread Thomas DeWeese
Tonny Kohar wrote: >> In addition, I would like to know if there is any way >> to quickly free up memory for a canvas that has become hidden >> and be able to quickly switch back to it. > > According to SVG Spec, you could set the display attribute to none, but > I am not sure whether Batik adhere

Re: [svg-developers] batik memory footprint

2005-05-02 Thread Thomas DeWeese
Hi Liutcpeter, liutcpeter wrote: > We've been using Batik to create interactive visualization tools > in Java. One issue we have is about Batik's memory footprint > and that is may not scale. Specifically, the scenario we are worried > about is when there are a large number of svg canvases (50-100

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] 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 t

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... http://

[svg-developers] Hello

2005-04-17 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" Yah

Re: [svg-developers] Re: batik JPEGTranscoder

2005-04-14 Thread Thomas DeWeese
Hi Asrdesigns, It looks like your batik-css.jar is corrupt also. This line of code just triggers the first access of the problem class in the jar file. asrdesigns wrote: > > Hi: I am still having problems and have tracked this down to be caused > by the line > > PNGTranscoder t = ne

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 c

Re: [svg-developers] CSS gradient problem in Batik

2005-04-14 Thread Thomas DeWeese
Hi Olaf, Olaf Schnabel wrote: > I use a linear gradient in my SVG file: > > > But if I put the attribute "fill" in a CSS file > > grad {fill:url(#colorgrad);} > > and apply it as a CSS class to the rectangle, Batik (1.5.1 / 1.6) > returns error messages. This is bec

Re: [svg-developers] Re: batik JPEGTranscoder

2005-04-13 Thread Thomas DeWeese
is is a corrupted class file or JAR file (bad bits or bad >>spot 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

2005-04-12 Thread Thomas DeWeese
asrdesigns wrote: > has anybody gotten this to work please? Yes, lots of people have gotten this to work... > I am getting the following error: > > java.lang.ClassFormatError: Unknown constant tag 47 in class file > org/apache/batik/gvt/AbstractGraphicsNode This is a new one... What v

Re: [svg-developers] Batik 1.6 released [ bug reports and thanks! ]

2005-04-11 Thread Thomas DeWeese
Hi Josh, josh zeidner wrote: > I am currently developing a commercial application > using Batik. Thanks to Thomas DeWeese and the Batik > team for their effort. Batik is a great package. I > have just done some preliminary testing with batik > 1.6. The difference in spee

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

Re: [svg-developers] Re: text width in pixel

2005-04-08 Thread Thomas DeWeese
Hi Peruzzi, Peruzzi Alessandro wrote: > now when i calculate for example... width > with this code: > > Rectangle rect = ctx.getGraphicsNode(t1).getBounds().getBounds(); > int width = (int)(ctx.getGraphicsNode(t1).getBounds().getWidth()); > > I have a different result > rect.width no equals t

Re: [svg-developers] Re: text width in pixel

2005-04-08 Thread Thomas DeWeese
Hi Peruzzi, Peruzzi Alessandro wrote: > Thanks but my program generated same errors. You need to boot the 'graphics' part of the SVG Document. Without this the extended SVG DOM mostly won't work. UserAgent userAgent; DocumentLoader loader; BridgeContext ctx;

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 basi

  1   2   >