[svg-developers] Re: PHP, SVG, & PDF

2005-03-08 Thread Andreas Neumann
there are quite a few SVG2PDF converters out there. commercial ones and open source ones, if you look for svg2pdf conversion. here are some options: Apache FOP (which has Batik embedded) Adobe Graphics Server Antenna house Adobe Illustrator Corel Draw Inkscape (via PS) or Scribus Alm

[svg-developers] Re: getURL returns Invalid Domain

2005-03-08 Thread Andreas Neumann
Hi, if you embed an SVG into PDF you cannot access the network any more. Also, you have to embed all external resources into one single SVG file before embedding it in PDF. I was first very excited about embedding SVG in PDF until I discovered that limitation :-( Andreas --- In svg

[svg-developers] Re: Can xml data be put in svg? ( eg. 4 getURL ? )

2005-03-08 Thread loveshwathi
Can someone give a simple example of getURL to get data from xml into svg? --- In svg-developers@yahoogroups.com, "Burkhard Stollenwerk" <[EMAIL PROTECTED]> wrote: > Hallo, > > yes you can use XML Data in Document. > But mixing is dangerous. > You can load it by using getUrl , or take it wi

[svg-developers] Re: PHP, SVG, & PDF

2005-03-08 Thread ts_oswald
To take some of the mystery away of the perl script, look at the sample pdf using your favorite editor (e.g. vi, emacs, etc.) and you'll see that the svg is being wrapped by pdf scripting constituting a head (i.e. the __DATA__ at the end of the pl script) and a tail (the xref section created by t

RE: [svg-developers] PHP, SVG, & PDF

2005-03-08 Thread Rick Bullotta
What about rasterizing the SVG and embedding the resultant image? -Original Message- From: Rerun [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:21 PM To: svg-developers@yahoogroups.com Subject: [svg-developers] PHP, SVG, & PDF I've started, with some success, writing a php s

[svg-developers] PHP, SVG, & PDF

2005-03-08 Thread Rerun
I've started, with some success, writing a php script that uses PDFLIB to write out SVG in a PDF. It seemed like a good idea, but then I got to thinking about polygons that have holes in them. It started to seem more complicated than it was worth. Maybe I'm wrong. Does anyone know how PDF'

[svg-developers] getURL returns Invalid Domain

2005-03-08 Thread ts_oswald
Hi - I have an svg application that is driven by an xml document and everything works great in a browser. Then I put it into a pdf (thanks to kevlindev), view it using Adobe Reader 7.0, and things don't work all that great. The getURL returns an "Invalid Domain" whether absolute or relative

[svg-developers] Quicktime in SVG?

2005-03-08 Thread coggeshalldavid
Hi, Is it possible to play a QuickTime movie inside an SVG embed? Examples? Thanks, David C. - 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 grou

Re: [svg-developers] Re: Newbie Question - Lines/Paths

2005-03-08 Thread Holger Will
Hi Chris as André pointed out, you can use a font. here is a simple example: http://www.treebuilder.de/svg/font1/myfont.svg hope it helps Holger André M. Winter - Carto.net wrote: > hi, > > another way would be special created fonts that align along a path > (textPath). > > but if you could li

[svg-developers] SVG Tiny

2005-03-08 Thread iwasandrewfirst
Does anyone know what SVG Tiny must have? 4 decimal places, or more? (And if not four, how do you know what the SVG Tiny spec means?) The w3 standard says that numbers must be between +32767. and - 32767.. THAT'S FOUR DECIMAL PLACES. BUT their test suite shows values of (eg) x.1666

Re: [svg-developers] Re: Newbie Question - Lines/Paths

2005-03-08 Thread "André M. Winter - Carto.net"
hi, another way would be special created fonts that align along a path (textPath). but if you could link to a graphic where the final result of what you want is shown, maybe there will be more answers on this... andré -- ___ a

[svg-developers] Re: Newbie Question - Lines/Paths

2005-03-08 Thread th3moog
Thanks Samy. I am not entirely sure I understand what you mean though! Do you mean that I should draw the line as a series of individual arcs? If so, that seems quite a labour intensive way of achieving the desired result. If I have misinterpretted your reply, is there any chance of a short

[svg-developers] Re: Scripting:Polyline Object Access

2005-03-08 Thread Aashish Singhvi
Hi Curtis, I am not sure, what kind of precision you are looking for. Here is an easy Impl of your issue. Add a 'onmouseover="yourfunction(evt)"' to your polyline element. Then evt.getClientX() and evt.getClientY() from 'yourfunction' will always give you the X and Y co-ordinates on your line.

[svg-developers] Re: rendering speed - batik vs. asv

2005-03-08 Thread higorion
Hi Jeff, absolutely nothing to be sorry about! how should you know when the docs are not saying anything about it not being there. if it had been implemented, that would have been exactly the hint i was searching for. so thanks again, even if it didn't work. cheers, Hannes (still searching)

[svg-developers] Re: Newbie Question - Lines/Paths

2005-03-08 Thread Samuel Dagan
Hi Chris, A simple way could be a path, formed by a combination of many elliptical arcs. Good luck, Samy --- In svg-developers@yahoogroups.com, "th3moog" <[EMAIL PROTECTED]> wrote: > > Can someone tell me if it is possible to repeat a symbol along a path? > > I understand that you can c

Re: [svg-developers] disabling formerly selected functions

2005-03-08 Thread André M. Winter - Carto.net
hi halil, this seems to be a question related to scripting and not to SVG. however i don't understand how you "select" a "function". you can call a function, it executes and that was it. if you have different functions attached to mouse events (such as click, mousover, etc...) then you can ad

Re: [svg-developers] Re: rendering speed - batik vs. asv

2005-03-08 Thread Jeff Rafter
Wow! I am sorry about that Hannes-- I thought it was in there! Okay... what platform are you on? I know that Ksvg2 has event/javascript buffering built in... Sorry bout that... Jeff Rafter - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-

[svg-developers] Re: rendering speed - batik vs. asv

2005-03-08 Thread higorion
well after desperately trying to get it to work i finally had a look at the original batik source code. this is what part of it reads: public int suspendRedraw ( int max_wait_milliseconds ) { throw new Error(); } public void unsuspendRedraw ( int suspe

[svg-developers] Scripting: Using html and native .svgz

2005-03-08 Thread Curtis Fisher
This is a simple one that I cannot find a clear answer for. Why does my script work (in IE) if I use the .svgz as my file type and open the file directly? They will not work if I use the Object tag in HTML. The SVG imports are shown below: http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"

[svg-developers] Scripting:Polyline Object Access

2005-03-08 Thread Curtis Fisher
I have a chart that has 3 polylines and I would like to select the Y values for any X coordinate that the mouse selects. Picture a vertical line that moves to where the mouse is clicked and then visualize a table where all 3 polyline intersection values would appear. I have the line positio

[svg-developers] SaveSnapshopAs pbm in Safari

2005-03-08 Thread Jean-David Benamou
Hi, I am customizing the context menu as usual (I think) with Telepict menu&Copy SVGSa&ve Current State...&Help...About SVG Viewer... in a defs section and then a var newMenuRoot = parseXML( printNode( doc.getElementById( 'NewMenu' ) ), contextMenu).firstChild; contextMenu.replaceChild(newMe

[svg-developers] Re: SaveSnapshopAs pbm in Safari

2005-03-08 Thread Jean-David Benamou
Hi again I have found my problem which is not linked to DTD extension. The problem is i am passing parameter using the url : and when this url is too lon (parameters is too long) SaveSnapShot does not work in Safari. Any workaround ?? Thanks JD Jean-David Benamou wrote: > Hi, > > I am c

[svg-developers] disabling formerly selected functions

2005-03-08 Thread Halil AKINCI
Hi, I have a toolbar that includes several functions such as zoom in, zoom out, move, rotate, roadWidth, erase, etc. The codes of this functions are in a JavaScript file. I select a function on the toolbar (e.g. roadWidth) and use it and then select another function (e.g. erase). Then I'm sele

[svg-developers] Re: Can xml data be put in svg?

2005-03-08 Thread Aashish Singhvi
Are you wanting to extend the SVG elements by adding your own specific XML content? Check out the paper below. (Ref section 2.2) Credits to Andreas Neumann who forwarded this link to me. http://www.svgopen.org/2003/papers/embeddingDomainSemanticsInSVG/index .html HTH, /A --- In svg-developer

Re: [svg-developers] float

2005-03-08 Thread Burkhard Stollenwerk
Hello. I have found the errors. I´ve change Scale and convert to string var vp=svgdoc.getElementById("GESAMT").getAttribute("viewBox").split(" ") var sclx=eval(vp[2]) / getInnerWidth(); var scly=eval(vp[3]) / getInnerHeight(); sclx=scly=Math.max(Math.abs(sclx),Math.abs(scly));

Re: [svg-developers] Can xml data be put in svg?

2005-03-08 Thread Burkhard Stollenwerk
Hallo, yes you can use XML Data in Document. But mixing is dangerous. You can load it by using getUrl , or take it within Tag. Burkhard Stollenwerk - Original Message - From: thirumalai_selvan To: svg-developers@yahoogroups.com Sent: Tuesday, March 08, 2005 6:23 AM Subject:

[svg-developers] float

2005-03-08 Thread Burkhard Stollenwerk
Hello, I have a problem with float. you can see it at these example: var vp=svgdoc.getElementById("GESAMT").getAttribute("viewBox").split(" ") var sclx=eval(vp[2]) / getInnerWidth(); var scly=eval(vp[3]) / getInnerHeight(); var xm=evt.getClientX(); var ym=evt.getClientY(); var xp=sclx*xm

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

2005-03-08 Thread Balasubramanyam
Hi , 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. DOMImplementation impl = GenericDOMImplementation.getDOMImplementation (); String svgNS = "

Re: [svg-developers] Re: Differences in browser Javascript engine vs ASV Javascript engine

2005-03-08 Thread André M. Winter - Carto.net
hi, if i remember well, onbeforeunload (and others) are MSIE5 methods, no more supported in IE6. andré -- ___ andre m. winter, cartography for internet and multimedia applications a6091 goetzens, tyrol, austria tel.: ++43.

[svg-developers] Re: Differences in browser Javascript engine vs ASV Javascript engine

2005-03-08 Thread Aashish Singhvi
re: "> For a more complete solution, refer to: > http://article.gmane.org/gmane.text.xml.svg.devel/12299/match=onunloa d+crash > " Thanks for the input. However, I was unable to specify parent.onbeforeunload in the init (onload) function of my Javascript. It says "this is not implemented".

[svg-developers] Can xml data be put in svg?

2005-03-08 Thread thirumalai_selvan
hi, i'm a beginner. can xml data be used in svg? any examples please! greets, thiru :) - 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

[svg-developers] Re: rendering speed - batik vs. asv

2005-03-08 Thread higorion
Hi Jeff, thank's for your answer. sound like an elegant solution, but ... unfortunately i have not been able to implement those functions yet, since calling on svgRoot (SVGOMSVGElement) in javascript, batik will raise an error (java.lang.Error), and, after building evertyhing in pure jav

[svg-developers] Re: alternative ways to define custom attributes on elements

2005-03-08 Thread Andreas Neumann
http://www.svgopen.org/2003/papers/embeddingDomainSemanticsInSVG/index.html discusses this problem It is perfectly valid (and recommended) to extend the SVG DTD on a per document basis. You can do this in the header of the file in the doctype section. I do this all the time for my GI