Change-Id: I49aabb3daae84e928165c36dd9b352e03f91ae06
Signed-off-by: keonpyo.kong <keonpyo.kong@samsung.com>
delegate.OnFontInfoRequested(style, textSize);
delegate.OnFontInfoRequested(style, floatTextSize);
_ControlManager* pControlManager = _ControlManager::GetInstance();
-
+ _FontImpl* pFontImpl = _FontImpl::GetInstance(*__pFont);
if (!(__isControlFontChanged || pControlManager->IsDefaultFontChanged())
&& __pFont != null
- && ((__pFont->GetSize() == textSize || __pFont->GetSizeF() == floatTextSize)))
+ && ((__pFont->GetSize() == textSize || __pFont->GetSizeF() == floatTextSize))
+ && (pFontImpl->GetStyle() == style))
{
return __pFont;
}