Re: [svg-developers] obscure things like path d=m0..0.1 2/
On Sat, 02 Oct 2010 23:26:54 +0200, t...@ymail.com t...@ymail.com wrote: I successfully tested my freshly written path data parser against the paths found in the paths-data-##-t.svg files of the 1.2 Tiny test suite. But I wonder whether I also have to take into account obscure things like path d=m0..0.1 2 Right, parsing that should give you the coordinates: 0., .0, .1 and 2. I tested it with Firefox, Opera, Chrome, Batik/Squiggle, librsvg and Inkscape. Only Chrome does not render it. Sounds like a bug in Chrome then. If a path like this is legal, I think there should be a test case in the test suite, shouldn't it? It's always nice to be thorough, sure. Have you found any other edge-cases like this one while writing your path parser? Cheers /Erik -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: obscure things like path d=m0..0.1 2/
--- In svg-developers@yahoogroups.com, Erik Dahlstrom e...@... wrote: On Sat, 02 Oct 2010 23:26:54 +0200, t...@... t...@... wrote: [...] things like path d=m0..0.1 2 Right, parsing that should give you the coordinates: 0., .0, .1 and 2. That's clear, that's the only possible interpretation. I only wanted to know whether this is covered by the EBNF description found in the specs. I tested it with Firefox, Opera, Chrome, Batik/Squiggle, librsvg and Inkscape. Only Chrome does not render it. Sounds like a bug in Chrome then. If a path like this is legal, I think there should be a test case in the test suite, shouldn't it? It's always nice to be thorough, sure. Have you found any other edge-cases like this one while writing your path parser? No, that's the only thing I noticed. If I discover more, I'll tell you here. Thomas W. - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: obscure things like path d=m0..0.1 2/
* t...@ymail.com wrote: That's clear, that's the only possible interpretation. I only wanted to know whether this is covered by the EBNF description found in the specs. It is. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: obscure things like path d=m0..0.1 2/
--- In svg-developers@yahoogroups.com, Bjoern Hoehrmann derhoe...@... wrote: * t...@... wrote: That's clear, that's the only possible interpretation. I only wanted to know whether this is covered by the EBNF description found in the specs. It is. Thanks! Grüße Thomas W. - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: Ответ: [svg-developers] A pleasant surpri se
--- ðÎ, 4.10.10, ddailey ddai...@zoominternet.net ÐÉÛÅÔ: ïÔ: ddailey ddai...@zoominternet.net ôÅÍÁ: Re: ïÔ×ÅÔ: [svg-developers] A pleasant surprise ëÏÍÕ: svg-developers@yahoogroups.com äÁÔÁ: ðÏÎÅÄÅÌØÎÉË, 4 ÏËÔÑÂÒØ 2010, 6:07 Hi Andrei, I tried the link here, but was told file not found -- looks like you moved it somewhere else? cheers David Looks like I didn't put this file to my site at all! Sorry, take it now. Regards, Andrew. [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: IE9 and ASV
There's only one FakeSmile library and, though it hasn't shown much activity in quite awhile, maybe someone will help improve it now that we know IE9 won't support SMIL. http://leunen.d.free.fr/fakesmile/ The feature list can be found at http://leunen.d.free.fr/fakesmile/status.html It's true I have found some time to fix some bugs, but haven't added any feature for a while. Though, I just installed IE9 beta yesterday, and I had time to test three animated SVG's. It seemed to work, but the memory consumption was dramatically high. Can anyone confirm ? Does anyone know a good debugging tool for this kind of issue ? Those are the only two alternatives that I'm really aware of. I think this is interesting and related : Fabien Cazenave developed Timesheet Schedulerhttp://kazhack.org/?post/2010/08/26/HTML-Timing: a JavaScript implementation of SMIL/Timing and SMIL/Timesheets. Along with a Timesheet Editor for Kompozer. David [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] character to path data in SVG
I just can't remember. I seem to recall a DOM interface or function in SVG that takes as input a character (i.e., a text string of length one) rendered in a given font-family and returns the path coordinates of the outline of that object. (something like w.toPath(ariel, 100) -- 0,0 50,100 100,0 150,100 200,0 200,5 150,105, 100,5 50,105 0,5 z Certainly we can get its bounding box, and certainly there are utilities in Inkscape and Illustrator to do that, but how about in plain old SVG with JavaScript? I would like to make some pseudo-random distortions to a typeface but can't remember the command, if there ever was one. sheepishly David [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] character to path data in SVG
* ddailey wrote: I just can't remember. I seem to recall a DOM interface or function in SVG that takes as input a character (i.e., a text string of length one) rendered in a given font-family and returns the path coordinates of the outline of that object. (something like w.toPath(ariel, 100) -- 0,0 50,100 100,0 150,100 200,0 200,5 150,105, 100,5 50,105 0,5 z Certainly we can get its bounding box, and certainly there are utilities in Inkscape and Illustrator to do that, but how about in plain old SVG with JavaScript? I would like to make some pseudo-random distortions to a typeface but can't remember the command, if there ever was one. There is no such function in SVG 1.1 or SVG Tiny 1.2. Also note that a glyph is not necessarily a single path, with SVG fonts you can have more or less arbitrary content to make up a glyph. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: character to path data in SVG
What Bjoern said. By the way, I would like to see this functionality exposed at some point in the future so that web-based graphical editors (like SVG-edit) can convert SVG text to paths... Jeff --- In svg-developers@yahoogroups.com, Bjoern Hoehrmann derhoe...@... wrote: * ddailey wrote: I just can't remember. I seem to recall a DOM interface or function in SVG that takes as input a character (i.e., a text string of length one) rendered in a given font-family and returns the path coordinates of the outline of that object. (something like w.toPath(ariel, 100) -- 0,0 50,100 100,0 150,100 200,0 200,5 150,105, 100,5 50,105 0,5 z Certainly we can get its bounding box, and certainly there are utilities in Inkscape and Illustrator to do that, but how about in plain old SVG with JavaScript? I would like to make some pseudo-random distortions to a typeface but can't remember the command, if there ever was one. There is no such function in SVG 1.1 or SVG Tiny 1.2. Also note that a glyph is not necessarily a single path, with SVG fonts you can have more or less arbitrary content to make up a glyph. -- Björn Höhrmann · mailto:bjo...@... · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: character to path data in SVG
What Jeff said. Ditto. David - Original Message - From: jeff_schiller To: svg-developers@yahoogroups.com Sent: Monday, October 04, 2010 4:40 PM Subject: [svg-developers] Re: character to path data in SVG What Bjoern said. By the way, I would like to see this functionality exposed at some point in the future so that web-based graphical editors (like SVG-edit) can convert SVG text to paths... Jeff --- In svg-developers@yahoogroups.com, Bjoern Hoehrmann derhoe...@... wrote: * ddailey wrote: I just can't remember. I seem to recall a DOM interface or function in SVG that takes as input a character (i.e., a text string of length one) rendered in a given font-family and returns the path coordinates of the outline of that object. (something like w.toPath(ariel, 100) -- 0,0 50,100 100,0 150,100 200,0 200,5 150,105, 100,5 50,105 0,5 z Certainly we can get its bounding box, and certainly there are utilities in Inkscape and Illustrator to do that, but how about in plain old SVG with JavaScript? I would like to make some pseudo-random distortions to a typeface but can't remember the command, if there ever was one. There is no such function in SVG 1.1 or SVG Tiny 1.2. Also note that a glyph is not necessarily a single path, with SVG fonts you can have more or less arbitrary content to make up a glyph. -- Björn Höhrmann · mailto:bjo...@... · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ [Non-text portions of this message have been removed] - To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -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: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/