Change filter mode in TextLabel to improve quality while scaling
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / text-controls / text-label-impl.cpp
index 3778d1b..5ca841f 100644 (file)
@@ -958,9 +958,9 @@ void TextLabel::SetUpAutoScrolling()
   TextureSet textureSet = TextureSet::New();
   textureSet.SetTexture( 0u, texture );
 
-  // Filter mode needs to be set to nearest to avoid blurry text.
+  // Filter mode needs to be set to linear to produce better quality while scaling.
   Sampler sampler = Sampler::New();
-  sampler.SetFilterMode( FilterMode::NEAREST, FilterMode::NEAREST );
+  sampler.SetFilterMode( FilterMode::LINEAR, FilterMode::LINEAR );
   textureSet.SetSampler( 0u, sampler );
 
   // Set parameters for scrolling