Re: [svg-developers] page - page breaks for printing and viewing

2010-10-29 Thread Erik Dahlstrom
On Wed, 27 Oct 2010 22:09:53 +0200, KeithA keith_alle...@yahoo.com wrote:

 Hello All,

 I'd like to fit a multi-page document into a single file and display w/  
 firefox (I curently create multiple files).  Furthermore, I would like  
 to be able to use Firefox's print capability to print the same multiple  
 pages but I can't get this methodology I found on the web to work (see  
 blow).  Does anyone have any suggestions?  Thank you,  Keith

Using an xhtml (or html5) container together with css pagebreaking should  
work I think, for some examples see e.g  
http://davidwalsh.name/css-page-breaks. It's possible that your snippet  
will work too, I'd suggest specifying the type of stylesheet though, like  
this: ?xml-stylesheet type=text/css href=print.css media=print ?.

Here's another take on your structure:

!DOCTYPE html
html
   style
 .page { page-break-after: always; }
   /style
   div class=page
 svg/
   /div
   div class=page
 ...
   /div
/html

Hope this helps
/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/



Re: [svg-developers] filters: default if not implemented?

2010-10-29 Thread Erik Dahlstrom
On Thu, 28 Oct 2010 19:40:00 +0200, j.chetw...@btinternet.com  
j.chetw...@btinternet.com wrote:

 filters: default if not implemented?

 what should the browser or UA do where filters are not implemented?

 Jonathan Chetwynd
 www.peepo.com

 my assumption was they would be ignored, however blackberry reports:
 java.io.IOException: InvalidSVG: org.XML.sax.SAXException: The rect  
 element does not support the trait 'filter'

 could not immediately find an answer in the spec.

For SVG Tiny 1.2 user agents [1]:
* ... The user agent must not stop processing or rendering under any of  
the above situations, but at user option it may alert, log, or otherwise  
provide a notification that unsupported content was encountered.

For SVG 1.1 (where filters is a part), there are some classes of  
conformance for user agents (one of which is 'SVG Interpreter') [2]:
* A Conforming SVG Interpreter must parse any SVG document correctly. It  
is not required to interpret the semantics of all features correctly.

Cheers
/Erik

[1] http://www.w3.org/TR/SVGTiny12/implnote.html#UnsupportedProps
[2] http://www.w3.org/TR/SVG11/conform.html#ConformingSVGInterpreters

-- 
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] SVG vs. Canvas

2010-10-29 Thread patrickdengler
Hi everyone,

I did a talk on SVG vs. Canvas.  I want to grow this talk over the next 6 
months.  Please feel free to leave me feedback about it (and don't for get to 
mark it as like!)

http://player.microsoftpdc.com/Session/6b113af7-ba3e-44ae-bf8c-1f394029cc18






-
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] SVG vs. Canvas

2010-10-29 Thread Narendra Sisodiya
On Fri, Oct 29, 2010 at 6:20 PM, patrickdengler patrickdeng...@yahoo.comwrote:



 Hi everyone,

 I did a talk on SVG vs. Canvas. I want to grow this talk over the next 6
 months. Please feel free to leave me feedback about it (and don't for get to
 mark it as like!)

 http://player.microsoftpdc.com/Session/6b113af7-ba3e-44ae-bf8c-1f394029cc18

I tried opening this link and unable to open the link. the above page need
an alien technology plugin. #fail

-- 
┌─┐
│Narendra Sisodiya
│http://narendrasisodiya.com
└─┘


[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] Re: SVG vs. Canvas

2010-10-29 Thread t...@ymail.com
--- In svg-developers@yahoogroups.com, Narendra Sisodiya naren...@... wrote:

 On Fri, Oct 29, 2010 at 6:20 PM, patrickdengler patrickdeng...@...wrote:
 
 
  http://player.microsoftpdc.com/Session/6b113af7-ba3e-44ae-bf8c-1f394029cc18
 
 I tried opening this link and unable to open the link. the above page need
 an alien technology plugin. #fail
 


It's the same for me.  I tried to install Silverlight (Moonlight respectively) 
in Firefox and Google Chrome on my Linux machine to see the talk, but I 
couldn't make it work.  Isn't there another way to publish it?

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] SVG vs. Canvas

2010-10-29 Thread ddailey
Hi Patrick,

Your presentation looked good to me. I think I'll ask all my students to take a 
look too as the basic differences between the two are a bit tricky to 
understand and I think you nailed it quite well. I found some of the text 
examples early in the talk hard to read on my relatively small monitor, but it 
didn't matter too much. About 3/4 of the way through the talk I found myself 
tempted to disagree with something about animation, but then the urge passed. 
Whew!

I think that interactivity with the user may not be SVG's only advantage over 
canvas, but sometimes it is just easier to have things in the DOM for purposes 
of weaving in and out. Suppose for example that we've drawn a complex scene 
with lots of pillars running parallel to a porch (or telephone poles next to 
train tracks), and receding into the distance, as if replicated. If Wiley 
Coyote is going to be zig-zagging in and out of the pillars as he approaches 
the camera, it is far easier to rely on the DOM to manage the stacking order 
and occlusions associated with the animation (at least for Mom and Pop 
illustrators) than to ask someone to manage all that through JavaScript (or 
even fancy libraries of JavaScript). SVG just does so much of our work for us 
that it frees us to do design rather than programming -- at least in theory!  I 
think if Walt Disney had a choice of SVG or Canvas in making Sleeping Beauty, 
SVG would have been the choice, even if the audience couldn't interact with the 
forest animals! 

The developer's predispostion, as you point out, has something to do with how 
she will approach problems and a lot of programmers will gravitate naturally 
toward Canvas since it is familiar. The mind set associated with SVG is very 
web-like and, like HTML, declarative. One abandons a lot of the control that 
a programmer might wish to have over customized anti-aliasing, kerning, timing 
and the like. In the meantime SVG is in sort of a funny area: too much DOM and 
programming for the straight artsy types and not enough control for the 
hardware lovers. 

Thanks for the link!

cheers
David

(PS, I tried installing Windows 7 on the second machine in my office -- too 
afraid to try it on my mission critical machine -- just to start using IE9, but 
the darn thing wouldn't let me... have you all announced a release date yet for 
when it emerges out of beta?)

  - Original Message - 
  From: patrickdengler 
  To: svg-developers@yahoogroups.com 
  Sent: Friday, October 29, 2010 8:50 AM
  Subject: [svg-developers] SVG vs. Canvas



  Hi everyone,

  I did a talk on SVG vs. Canvas. I want to grow this talk over the next 6 
months. Please feel free to leave me feedback about it (and don't for get to 
mark it as like!)

  http://player.microsoftpdc.com/Session/6b113af7-ba3e-44ae-bf8c-1f394029cc18



  

[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] SVG vs. Canvas

2010-10-29 Thread Guy Morton
How ironic. A talk about SVG on Canvas that requires Silverlightoh Patrick, 
you're a wag! 

Are you sure this isn't just a ploy to get more Silverlight downloads? 



On 30/10/2010, at 5:33 AM, Narendra Sisodiya wrote:

 On Fri, Oct 29, 2010 at 6:20 PM, patrickdengler 
 patrickdeng...@yahoo.comwrote:
 
 
 
 Hi everyone,
 
 I did a talk on SVG vs. Canvas. I want to grow this talk over the next 6
 months. Please feel free to leave me feedback about it (and don't for get to
 mark it as like!)
 
 http://player.microsoftpdc.com/Session/6b113af7-ba3e-44ae-bf8c-1f394029cc18
 
 I tried opening this link and unable to open the link. the above page need
 an alien technology plugin. #fail
 
 -- 
 ┌─┐
 │Narendra Sisodiya
 │http://narendrasisodiya.com
 └─┘
 
 
 [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 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/