From 20a6114ed5942330296de155da2f5cd7b79fcb55 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Tue, 27 Feb 2018 16:37:53 +0900 Subject: [PATCH] Change hint flag when load glyph from FreeType To improve quality of small texts, change hint flag when load glyph from FreeType Change-Id: I3efafe457f967b13a8b2304b739c876e2b7ce4ab Signed-off-by: minho.sun --- dali/internal/text/text-abstraction/font-client-plugin-impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dali/internal/text/text-abstraction/font-client-plugin-impl.cpp b/dali/internal/text/text-abstraction/font-client-plugin-impl.cpp index 6b1e491..faa61f0 100644 --- a/dali/internal/text/text-abstraction/font-client-plugin-impl.cpp +++ b/dali/internal/text/text-abstraction/font-client-plugin-impl.cpp @@ -1009,7 +1009,7 @@ bool FontClient::Plugin::GetBitmapMetrics( GlyphInfo* array, else #endif { - int error = FT_Load_Glyph( ftFace, glyph.index, FT_LOAD_DEFAULT ); + int error = FT_Load_Glyph( ftFace, glyph.index, FT_LOAD_NO_AUTOHINT ); if( FT_Err_Ok == error ) { @@ -1102,7 +1102,7 @@ void FontClient::Plugin::CreateBitmap( FontId fontId, GlyphIndex glyphIndex, Dal else #endif { - error = FT_Load_Glyph( ftFace, glyphIndex, FT_LOAD_DEFAULT ); + error = FT_Load_Glyph( ftFace, glyphIndex, FT_LOAD_NO_AUTOHINT ); } if( FT_Err_Ok == error ) { -- 2.7.4