Styled text rendering and measurement.