Re:Line breaking (2014)
by jahewson on Saturday March 03, 2018 @08:59PM
(#16512846)
One thing that makes this hard is Unicode & OpenType. Decent line breaking requires hyphenation which with complex shaping requires entire words to be re-shaped for each combination of possible hyphenation points if we want optimal breaks.
[ Parent
| on HN ]
Re:Line breaking (2014)
by ComputerGuru on Saturday March 03, 2018 @10:08PM
(#16513048)
I think hyphenation is more of a hack that good line breaking can generally avoid.
You need more than that. Find a typical LaTeX document and compile with and without \usepackage{microtype}. The difference is enormous. You need character expansion (small expansion to the characters themselves) to do it.