Cache text width and codepoints in LineInfo
Separate rendering and text layout