mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
bb4412fae5
The design engine sized a text frame by counting characters against the letters a line holds, as if a line ended mid word. A line breaks at a space, so a long story needed a line or more than its frame held and the Studio and the print cut its last sentence off. The measure now wraps the words as the Studio does, takes each family's letter width as measured on story text, and sizes the engine's own frames with a few percent of headroom; measured against the Studio on 1512 texts it falls short in under one percent of them, where it fell short in 27. The overflow finding keeps the best estimate, so a frame a person sized is not flagged for a few percent.