Re: Use of SVG to describe EPUB region

On Tue, 05 Feb 2013 06:26:00 +0100, FUJISAWA Jun  
<fujisawa.jun@canon.co.jp> wrote:

> Hi group,
>
> I've been involved in IDPF EPUB standardization for some time, and I'd
> like to hear your feedback on the possible use of SVG to describe EPUB
> region information.
>
> <http://epub-revision.googlecode.com/files/FF_AHL_RegionRepresentation.pdf>

Regarding the single-page vs split page views, one could alternatively  
just use a single svg document with multiple <view> elements (assuming the  
content doesn't have to be moved around).

Basically a structure like this for single-page viewing:

<html>
   <body>
     <img src="comic.svg"/>
   </body>
</html>

and like this for split-page:

<html>
   <body>
     <img src="comic.svg#left"/>
     <img src="comic.svg#right"/>
   </body>
</html>

where the comic.svg looks something like this (the same comic.svg can now  
be used for both single-page and split-page):

<svg viewBox="...">
   <defs>
     <view id="left" viewBox="..."/>
     <view id="right" viewBox="..."/>
   </defs>
   ... comic goes here...
</svg>


-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed

Received on Tuesday, 19 March 2013 13:29:21 UTC