Merge "Fills font metrics before passing to ReplacementSpan" into pi-dev