April 20th, 2014
This description of how Duplo, Flipboard's new page layout engine, works is fascinating. It's ludicrous to think of just how much work your computer1 can get done in a few fractions of a second just in order to optimise the display of a bunch of text and images for maximum readability:
Duplo is a new layout engine that starts with the ideas in [Flipboard's old layout engine] Pages but uses a modular block and grid system to quickly fit content into thousands of page layouts in all sizes.
Duplo starts in a similar way as Pages: A designer creates a set of layouts. From this set, Pages selects the layout that best fits the desired content.
However, while Pages looks at about 20 candidate layouts, Duplo looks at anywhere between 2000 to 6000 candidates, searching for the best layout to fit the content. […]
Me, I tried Flipboard a while ago but on balance I tend to prefer the Instapaper approach.2 But it's good that clever people are putting so much work into trying to find better ways to make content readable in so many form factors.
[Via Daring Fireball]
- And especially the computer small enough that you carry in your pocket or hold it in one hand ↩
- That or using Safari's Reader function as augmented by the Canisbos CustomReader extension, which allows me to have Safari automatically turn on the Reader function on certain sites and to customise the look of the text the Reader function displays in various ways. ↩