From: minho.sun Date: Tue, 27 Feb 2018 07:37:53 +0000 (+0900) Subject: [4.0] Change hint flag when load glyph from FreeType X-Git-Tag: accepted/tizen/4.0/unified/20180327.144913~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=24b8048e9937f7aeab9e0eb782676033033ca2e2;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git [4.0] 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/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp b/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp index c023044..09193c0 100644 --- a/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp +++ b/text/dali/internal/text-abstraction/font-client-plugin-impl.cpp @@ -1034,7 +1034,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 ) { @@ -1127,7 +1127,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 ) {