Merge "[Tizen] Check supported by font and find fallback font for common script....
authorHyunJu Shin <hyunjushin@samsung.com>
Thu, 1 Nov 2018 01:12:58 +0000 (01:12 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 1 Nov 2018 01:12:59 +0000 (01:12 +0000)
dali-toolkit/internal/text/rendering/text-typesetter.cpp

index 0e149d7..8018054 100755 (executable)
@@ -637,7 +637,7 @@ Devel::PixelBuffer Typesetter::CreateImageBuffer( const unsigned int bufferWidth
       }
 
       // Retrieves the glyph's color.
-      const ColorIndex colorIndex = *( colorIndexBuffer + glyphIndex );
+      const ColorIndex colorIndex = useDefaultColor ? 0u : *( colorIndexBuffer + glyphIndex );
 
       Vector4 color;
       if ( style == Typesetter::STYLE_SHADOW )