OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Epub2 and SVG

I've not read Epub3 best practices yet: I was planning to stick with Epub2 for the time being because of a lack of 3.0 readers.
I will try Epub3, but I expect similar results: when I use Streamium (an Epub3 capable reader) to render my Epub2, the svg is rendered incorrectly as well.
Fall back will not work because the readers render the SVG, they just doo a very poor job of it.

On Fri, Apr 5, 2013 at 6:16 AM, Mike Cook <m@mikecook.co.uk> wrote:

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="" type="image/svg+xml" width="640" height="480">
<img src="" alt="..." />

"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.


[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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]