Merge "Fix getFontMetrics problems"