Revert "Check character glyph index before using cached Font"
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / multi-language-support-impl.cpp
index 020a5cb..fd1d8e4 100644 (file)
@@ -613,9 +613,8 @@ void MultilanguageSupport::ValidateFonts( const Vector<Character>& text,
           if( !isValidFont ) // (3)
           {
             // The given font has not been validated.
-            int validCharacterIndex = fontClient.GetGlyphIndex(cachedDefaultFontId, character );
 
-            if( isValidCachedDefaultFont && validCharacterIndex != 0u )
+            if( isValidCachedDefaultFont )
             {
               // Use the cached default font for the script if there is one.
               fontId = cachedDefaultFontId;