Optimize TextPiece.measure a bit.
Implement TextPiece.IsWhiteSpace.
Implement TextPiece.IsNewLine.
Benchmark TextPiece.IsWhiteSpace.
TextPiece.MatchesAttributes, Font.Matches.
Merge text pieces with common attributes.