Using CalcTextHeight for overflowing paragraphs

Change-Id: I807107fdcbc53fdf5aa71fecc2ea1089eddbe1d9
Using CalcTextHeight for overflowing paragraphs

Change-Id: I7ad162c8287c7d9b335758c261e4289fa41ef4bc