CJK script use 3 fonts (chiniese. japanese, korean),
(tizen TV has, BreezeSansChinese-Regular.ttf, BreezeSansJapanese-Regular.ttf, BreezeSansKorean-Regular.ttf)
Some CJK characters may not be included in these three fonts.
In this case, it need to search fallback font again.
Change-Id: I99ed74af3d53edd82e029331c51a8404238f7745
if( !isValidFont ) // (3)
{
// The given font has not been validated.
+ int validCharacterIndex = fontClient.GetGlyphIndex(cachedDefaultFontId, character );
- if( isValidCachedDefaultFont )
+ if( isValidCachedDefaultFont && validCharacterIndex != 0u )
{
// Use the cached default font for the script if there is one.
fontId = cachedDefaultFontId;