fix wrong cursor position in TextField
When the placeholder font size is bigger/smaller than default font size,
the cursor is positioned incorrectly.
this is because mScrollPosition.y is calculated based on layoutSize.height at CalculateVerticalOffset().
(this is not based on cursor height.
in issue situation, layoutSize.height is bigger/smaller than defaultFontLineHeight.)
This patch prevents the wrong positioning of cursor when the layoutSize.height is bigger/smaller than defaultFontLineHeight.
And update the glyphPositions using recalculated offset.
This issue only occurs with placeholder + single line text control. (vertical alignment)
I hope this modification does not affect the calculation of other texts.
So, update the glyphPositions in CalculateVerticalOffset().
Change-Id: I031635bb8c5ed790700d89de4b046515bff5bf73
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>