From: minho.sun Date: Tue, 27 Feb 2018 07:37:53 +0000 (+0900) Subject: Change hint flag when load glyph from FreeType X-Git-Tag: dali_1.3.17~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=20a6114ed5942330296de155da2f5cd7b79fcb55 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 --- 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 ) {