请问HN:文字处理器是如何实现分页的?

1作者: bhu1st1 天前原帖
像MS-Word和Google文档这样的文字处理软件是如何处理分页的(例如,将大段文本分割成页面、自动调整页面内容等)?
查看原文
How do Word Processors like MS-Word and Google docs handle pagination (eg. splitting large text into pages, automatic content readjustment in pages etc)?