Modified Font BaseLine
authorYunji Park <yunji19.park@samsung.com>
Thu, 20 Jun 2013 14:52:15 +0000 (23:52 +0900)
committerYunji Park <yunji19.park@samsung.com>
Thu, 20 Jun 2013 14:52:15 +0000 (23:52 +0900)
Change-Id: If90549671c1c51a491e2a04554173344c5b718f1

src/graphics/text/FGrp_TextTextSimple.cpp

index d8dc02e..80032af 100644 (file)
@@ -1433,9 +1433,7 @@ TextSimple::GetBaselineF(void) const
        _FontImpl* pFontImpl = _FontImpl::GetInstance(*pCurrentFont);
        SysTryReturn(NID_GRP, pFontImpl, -1, E_SYSTEM, "[E_SYSTEM] Fail to get native font instance.");
 
-       float maxHeight = pFontImpl->GetMaxHeightF();
-
-       return maxHeight / 3.0f;
+       return pFontImpl->GetDescenderF();
 }
 
 bool