From 694e025205c44b402917e91103817841b4742946 Mon Sep 17 00:00:00 2001 From: Yunji Park Date: Thu, 20 Jun 2013 23:52:15 +0900 Subject: [PATCH] Modified Font BaseLine Change-Id: If90549671c1c51a491e2a04554173344c5b718f1 --- src/graphics/text/FGrp_TextTextSimple.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/graphics/text/FGrp_TextTextSimple.cpp b/src/graphics/text/FGrp_TextTextSimple.cpp index d8dc02e..80032af 100644 --- a/src/graphics/text/FGrp_TextTextSimple.cpp +++ b/src/graphics/text/FGrp_TextTextSimple.cpp @@ -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 -- 2.7.4