X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmulti-language-support-impl.cpp;h=a8834b993e2ec95cef2c5044e9ac4997239c8b0e;hp=81d815c91fea0c93440df498521bda10fbf0528b;hb=fd31db0942835fccbf5d2ae21a764e73150e6870;hpb=f241f4e0ee21b508d75e622db5f81e505ec1166d diff --git a/dali-toolkit/internal/text/multi-language-support-impl.cpp b/dali-toolkit/internal/text/multi-language-support-impl.cpp index 81d815c..a8834b9 100755 --- a/dali-toolkit/internal/text/multi-language-support-impl.cpp +++ b/dali-toolkit/internal/text/multi-language-support-impl.cpp @@ -585,16 +585,6 @@ void MultilanguageSupport::ValidateFonts( const Vector& text, // Checks if the current character is supported by the selected font. isValidFont = fontClient.IsCharacterSupportedByFont( fontId, character ); - // Emojis are present in many monochrome fonts; prefer color by default. - if( isValidFont && - isEmojiScript ) - { - const GlyphIndex glyphIndex = fontClient.GetGlyphIndex( fontId, character ); - - // For color emojis, the font is valid if the glyph is a color glyph (the bitmap is RGBA). - isValidFont = fontClient.IsColorGlyph( fontId, glyphIndex ); - } - // If there is a valid font, cache it. if( isValidFont && !isCommonScript ) { @@ -630,14 +620,11 @@ void MultilanguageSupport::ValidateFonts( const Vector& text, DefaultFonts* defaultFontsPerScript = NULL; - // Emojis are present in many monochrome fonts; prefer color by default. - const bool preferColor = ( TextAbstraction::EMOJI == script ); - // Find a fallback-font. fontId = fontClient.FindFallbackFont( character, currentFontDescription, currentFontPointSize, - preferColor ); + false ); if( 0u == fontId ) {