View Single Post
Old 03-29-2017, 05:55 PM   #5
NikaZhenya
Junior Member
NikaZhenya began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2017
Location: MX
Device: Calibre
Quote:
Originally Posted by JSWolf View Post
Before you do this, where are you planning on selling this eBook? It will have to be ePub 3 and not ePub 2 compatible.
We are developing some tools for publishing in www.herramientas.perrotriste.io and now I am trying to solve this issue. We are working with EPUB3. The only think missed in this script is find the way to detect the font change for refresh. We already have the function of refresh that works very well with the resize event, which is not detected by iBooks or ebook-viewer.

The script (poetry.js) is available here: https://github.com/ColectivoPerroTri...ript/poetry.js

A working example: https://jsfiddle.net/dxr9azy7/

Last edited by NikaZhenya; 03-29-2017 at 07:09 PM.
NikaZhenya is offline   Reply With Quote