Font Size: a A A

Design And Implementation Of E-Book Automatic Typesetting System Based On Rectangle Packing

Posted on:2021-04-16Degree:MasterType:Thesis
Country:ChinaCandidate:M M FengFull Text:PDF
GTID:2518306104995979Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In the past few decades,the wheels of the information age have been rolling.The production forms of network,digitalization and informatization are constantly impacting all walks of life,gradually improving and replacing the original production mode.Among the many industries that have changed,the publishing industry is the first to bear the brunt.Under the impact of data explosion in the information age,publishing industry,as the pillar industry of knowledge dissemination in the last century,has also begun to focus on e-books.Compared with paper books,the most serious problem of e-books is the uneven quality.The quality of e-books is attributed to the typesetting problem in the online publishing platform of literati and Mohist.From this point of view,this paper proposes an automatic typesetting system based on rectangular packing modeling,expecting e-book publishers to focus more on book content rather than typesetting,which effectively improves the typesetting efficiency and book quality of e-books.In this paper,the rectangular packing model of typesetting is studied to realize the principle of automatic typesetting.Through the actual development of e-book automatic typesetting system to verify the feasibility of the theory.The core principle of the implementation is to carry out rectangular packing modeling for the typesetting problem,grid the typesetting container,and express the typesetting model with grid JSON data with unified format,and transform the complex typesetting problem into the operation of grid JSON model data.According to the theory and method of software engineering science,the idea of open dynamic template library is put forward from the demand analysis.Based on the template library,the paper combs out three kinds of business requirements: template creation,template management and automatic typesetting.The system adopts B / S structure and provides rich text editor and user-defined extended markdown editor to operate raster JSON model data.The server uses Node.js and Nginx to build a file server.The client is a browser developed using react and local Storage.Through rectangular packing modeling,the complex layout problem is transformed into the operation of grid JSON model data.It improves the design of the closed static library of traditional automatic typesetting and gives users the ability to create templates.It not only facilitates the management of typesetting materials,but also finds a powerful template source for the system.Under the support of grid system and huge template library,the system realizes high quality automatic typesetting effect.
Keywords/Search Tags:Automatic Typography, Grid System, Typography Template, Packing, JSON
PDF Full Text Request
Related items