EPUB ebook pagination

I have an ePub e-book and a parser for the same. EPUB is in the style of free flow. I wanted to know if there is any library available for parsing based on device resolution and font size, etc.?

+3
source share
1 answer

You might want to take a look at the epubjs library, which they posted at http://threepress.org/static/epubjs/ . This is a pure javascript implementation, most likely closest to what you are looking for.

If you don't need client-side javascript implementation, most likely you should look for a text layout engine, not something that is typical of EPUB.

+3
source

Source: https://habr.com/ru/post/1754579/


All Articles