Font Size: a A A

Design And Implementation Of EPUB E-book Analytical And Typesetting System

Posted on:2019-07-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y Z LiFull Text:PDF
GTID:2428330575951696Subject:Software engineering
Abstract/Summary:PDF Full Text Request
E-book analytical typesetting technology refers to the technology of content analysis and typesetting according to the format and rules of e-book.It is the key technology in the research and development of e-book reader.At present,TXT,PDF and EPUB are the common formats of e-books.TXT only supports single text style,PDF is not suitable for long-time reading in smaller reading devices;EPUB has chapters and programs,optional text display size,free typesetting,suitable for proportional screen reading.This paper introduces the open package format standard,open publication structure standard and open container format standard of EPUB format e-book.The file structure of EPUB e-book is analyzed with an example.The basic principle and rendering architecture of WebKit are analyzed.A cross-platform system for parsing and typesetting EPUB e-books is designed and implemented using C/C++ language.In the aspect of EPUB structure analysis,EPUB format ebook on the market stays in EPUB 2.0.This paper studies and analyses the standard of EPUB 2.0.In the aspect of system implementation,EPUB e-book parsing focuses on XML parsing,HTML parsing,CSS parsing and text encoding parsing.EPUB e-book typesetting focuses on three steps.First,from DOM tree to Render tree.Second,Render tree is transformed into Render Layer tree which contains all layout coordinate information.Third,Complete the transformation of information needed for data to layout.Experiments show that the analytical typesetting system designed in this paper achieves good experimental results in the parsing,typesetting and rendering of EPUB e-books.The system studied in this paper has been used on Android,IOS,Windows,MacOS devices,and the user feedback is good.
Keywords/Search Tags:E-book reader, E-book standard structure, EPUB format parsing, EPUB format typesetting
PDF Full Text Request
Related items