Fix buildTextCache not taking line spacing into account for metrics.
Fix TextComponent's calculateExtent not taking line spacing into account.