Apply formatter to measureText