Text layout is a loose hierarchy of segmentation
Published: 26 October 2020
Tags: text, layout engines
As programmers, text is a large part of your everyday life. But how many times have you stopped to think about how it's laid out and handled by all the software you use? In this extensive article, Raph Levien explores all of the parts that make up text hierarchy in a text layout engine, including paragraph segmentation, rich text style, bidirectional analysis, itemization, script, shaping, line breaking, and plenty of implementations to look at ranging from Android to Pango.