W3C home > Mailing lists > Public > public-digipub-ig@w3.org > September 2015

How to detect if epub has only image (more like a comic book in Japan)

From: Zheng Xu <zxu@kobo.com>
Date: Fri, 18 Sep 2015 20:40:42 +0000
To: W3C Digital Publishing IG <public-digipub-ig@w3.org>
Message-ID: <SN1PR0501MB17265B1BABDC4DE683E3EEC6CB590@SN1PR0501MB1726.namprd05.prod.outlook.com>
Hey


Wondering is there any way (specification? some potential epub element in opf?) to detect if epub only has image(or only image displayed) without layout the html?


Use case:

   Many Japanese comic only use image. So for this type of book, can use some different approach (comparing with fixed layout book with canvas or reflow book) to display it for some reason.

   But sometime creator also add some text with display:none to add kind of information inside book, so we can not force creator just use image in opf instead of using html.


Cheers,

Jeff
Received on Friday, 18 September 2015 20:41:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:36:12 UTC