SVG IRC Chat Logs for 2008-08-12

This is the automatically generated IRC log made by the logger bot from the SVG IRC chat at irc.freenode.net port 6667 channel #svg


You are here: Logs Home / 2008-08-12

02:51:37 <overlordpuppy> Is there an alternative implementation for svg2png? The firefox add on installed, but it idles on rendering frames. And it's only rendering 1 frame that's 320x240px.
03:20:48 <overlordpuppy> Has anyone ever used svg2png? I have an svg file, I load it into svg2png, then hit render. It Doesn't do anything, but then I take one of the example ones and it works fine. I'd like to find out what I'm doing wrong.
04:39:18 <lmanul> Hey guys, I have a quick question: I'm trying to flip an object (right now with transform="scale(-1,1)") without changing its position (currently it's obviously changing its x coord into -x). Is there an easy way to do that?
04:40:16 <lmanul> (Google didn't help me but if there's a page I should read to rtfm I'll be glad to do that :-) )
04:47:17 <heycam> lmanul, you'll have to translate to the origin, do the flip, then translate back
04:48:14 <heycam> if the point you want to flip around is x=100, then you'd do transform="translate(-100,0) scale(-1,1) translate(100,0)"
04:48:27 <heycam> hmm
04:49:08 <lmanul> I see, there's no way of doing that without harcoding the coordinates in the SVG right?
04:49:32 <heycam> no, there's no way to automatically determine the centre point that you want to flip around
04:49:59 <lmanul> heycam: Ok, got it, I'll hardcode the coordinates then. Thanks a lot!
04:50:04 <heycam> np
05:11:42 <lmanul> heycam: Is there a more specific channel dedicated to Java/Batik and SVG?
05:11:55 <lmanul> (Sorry to bother again)
05:18:11 <heycam> lmanul, no there isn't
05:18:22 <heycam> just here...
05:18:30 <lmanul> Ok, let me post my Batik question here then :-)
05:18:40 <lmanul> I'm trying to get the Bbox of an element,
05:18:57 <lmanul> But I'm doing this before doing any rendering (I'm actually just transcoding the SVG to a bitmap at the end)
05:19:12 <lmanul> So getBBox returns null, as expected I suppose
05:19:27 <lmanul> Should I do some kind of dummy rendering as a first step, to get the coordinates?
05:20:07 <heycam> yes you need to do that
05:20:15 <heycam> you need to "build the graphics tree"
05:20:21 <heycam> there's an example on the wiki, i think
05:20:29 <lmanul> Ok
05:20:46 <lmanul> I'll search for that, thanks again for your quick answers :-)
05:21:07 <heycam>http://wiki.apache.org/xmlgraphics-batik/BootSvgAndCssDom
05:21:07 <svg-chump_> A: http://wiki.apache.org/xmlgraphics-batik/BootSvgAndCssDom from heycam
05:21:17 <lmanul> Great!
05:21:21 <heycam> so after that bulid(), then you should be able to use all of the standard SVG DOM stuff
05:21:52 <lmanul> That's really cool, looks easy
07:14:58 <[AD]Turbo> yo all
07:18:01 <ace_me> hi all !
07:18:07 <ace_me> [AD]Turbo!
07:18:11 <ace_me> svg !
07:18:18 <ace_me> JIbberJim!
07:25:37 <JIbberJim> ace_me:
07:25:43 <JIbberJim> Hi [AD]Turbo:
07:26:42 <ace_me> how are you JIbberJim ?
07:26:54 <ace_me> how's Joost going ?
07:28:08 <JIbberJim> I'm good
11:40:06 <nicomen> is it possible to include an html document in an svg document and scale it?
11:40:54 <stelt> just put a transform on a foreignObject and see
11:41:30 <stelt> should be no problem.
11:41:44 * stelt wouldn't be surprised if you find bugs to report
11:43:24 <nicomen> stelt: but from an external html page?
11:45:23 <stelt> what would an internal html page be?
11:46:07 <wito> nicomen: you could put an iframe in your foreignobject, I suppose
11:46:14 <nicomen> ah
11:48:01 <stelt> nicomen, will the result be on-line?
11:48:28 <stelt> the web needs more foreignObject examples imho
11:53:39 <nicomen> yeah
11:53:57 <nicomen> online, and needs more examples
11:54:49 <stelt> url?
11:59:06 <nicomen> ah it's offline now, just playing around
11:59:24 <stelt> ok
12:00:44 <nicomen>http://people.opera.com/nicolasm/svg/includescalehtml.svg
12:00:44 <svg-chump_> B: http://people.opera.com/nicolasm/svg/includescalehtml.svg from nicomen
12:00:49 <nicomen> doesn't seem to play that well
12:33:53 <stelt> nicomen, bug ed_work about it :-)
12:39:39 <nicomen> yeah ;)
15:19:52 <wito> wito is now known as wito__
15:20:03 <wito__> wito__ is now known as wito_
15:20:28 <wito_> wito_ is now known as wito__
15:22:11 <wito__> wito__ is now known as wito
17:47:13 <giselle> hello, i need some help
17:48:45 <wito_> giselle: Yes, you do. :)
17:49:26 <giselle> i know.. =(
17:49:53 <giselle> i'm using batik, i guess you all know it right?
17:50:56 <giselle> the thing is that I was using windows, and everything was working perfectly, but then I installed ubuntu here, and now the program runs but nothing is rendered in the canvas
17:51:12 <wito_> if you're on linux
17:51:21 <wito_> I advice using Inkscape
17:51:34 <giselle> I don't know what's going on, the svg file is there and I can open it using other software
17:51:56 <giselle> no, my application generates a svg
17:52:12 <giselle> and i'm using batik to display it
18:04:03 <giselle> any ideas?
19:26:49 <stelt> please moderate on svg.org
20:13:53 <wito_> wito_ is now known as wito


The chat logged here contains content written by the chat participants identified by their IRC nick. No other identity is recorded.

Scripts provided by Dave Beckett, logger hosted by Jim Ley