Greedy wrapping with caller-supplied font measurement. Preserves explicit newlines, collapses intra-line whitespace and breaks long words on graphemes. Overflow means omitted lines or a single grapheme wider than the budget.
Greedy wrapping with caller-supplied font measurement. Preserves explicit newlines, collapses intra-line whitespace and breaks long words on graphemes. Overflow means omitted lines or a single grapheme wider than the budget.