EPUB电子书的分页
我有一本 EPUB 电子书和解析器。 EPUB 是自由格式。 我想知道是否有任何库可根据渲染设备分辨率和字体大小等对解析的输出进行分页?
I have a EPUB ebook and parser for the same.
EPUB is in freeflow style.
I wanted to know if there is any library available to paginate the parsed output depending on the rendering device Resolution and font size etc?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能想看看他们发布在 http:// Threepress.org/static/ 上的 epubjs 库epubjs/.这是一个纯 JavaScript 实现,很可能最接近您正在寻找的东西。
如果您不希望客户端 JavaScript 实现,那么您很可能应该寻找文本布局引擎,而不是特定于 EPUB 的引擎。
You may want to take a look at the epubjs library that they have posted on http://threepress.org/static/epubjs/. This is a pure javascript implementation that is most likely the closest thing to what you are looking for.
If you do not wish a client side javascript implementation then most likely you should be looking for a text layout engine as opposed to something that is specific to EPUB.