On 04/04/2013 20:28, Marcel Tromp wrote:
I am curious about other people's approach to using SVG in Epub2.
However, all the epub readers we have tried do a horrible job of
rendering SVG. We have tried Nook for Android, Aldiko, Mantano, EZpdf,
and Readium. Azardi is the only one that produces usable rendering.
Is the best option to convert to png and use that? That would be a shame.
From the EPUB 3 Best Practices book[1]; "EPUB 3 maintains compatibility
with EPUB 2 through its continued use of SVG 1.1..."
Can you implement a fallback?
<object data="image01.svg" type="image/svg+xml" width="640" height="480">
<img src="image01.png" alt="..." />
</object>
"Using an object tag also allows you to embed a fallback image for those
reading systems that don’t support SVG"
I've only just started looking into the DocBook XSL this last week but
apparently O'Reilly made some useful additions to the EPUB3
stylesheets[2], making them fully EPUB2 compatible. You should also read
EPUB Best Practices as you'll find a lot of useful information in it.
Mike
[1] http://shop.oreilly.com/product/0636920024897.do
[2] http://toc.oreilly.com/2013/02/oreillys-journey-to-epub-3.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]