Split canvas text into lines on specified rule with optional alignment, padding, and more. Supports HDPI screens.