Author: tom
Date: Tue Apr 28 06:42:54 2009
New Revision: 5515
URL: http://svn.slimdevices.com/jive?rev=5515&view=rev
Log:
Bug: 11910
Description:
fix for FreeSan (regular) which looks poorly with autohint on -
http://bugs.slimdevices.com/show_bug.cgi?id=11910
Modified:
7.4/trunk/squeezeplay/src/SDL_ttf-2.0.8/SDL_ttf.c
Modified: 7.4/trunk/squeezeplay/src/SDL_ttf-2.0.8/SDL_ttf.c
URL:
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/SDL_ttf-2.0.8/SDL_ttf.c?rev=5515&r1=5514&r2=5515&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/SDL_ttf-2.0.8/SDL_ttf.c (original)
+++ 7.4/trunk/squeezeplay/src/SDL_ttf-2.0.8/SDL_ttf.c Tue Apr 28 06:42:54 2009
@@ -435,7 +435,14 @@
if ( ! cached->index ) {
cached->index = FT_Get_Char_Index( face, ch );
}
- error = FT_Load_Glyph( face, cached->index, FT_LOAD_DEFAULT );
+
+ //Logitech - fix for FreeSan (regular) which looks poorly with autohint
on - http://bugs.slimdevices.com/show_bug.cgi?id=11910
+ // original: error = FT_Load_Glyph( face, cached->index,
FT_LOAD_DEFAULT );
+ if (face && face->family_name && (strcmp(face->family_name, "FreeSans")
== 0)) {
+ error = FT_Load_Glyph( face, cached->index, FT_LOAD_NO_AUTOHINT
);
+ } else {
+ error = FT_Load_Glyph( face, cached->index, FT_LOAD_DEFAULT );
+ }
if( error ) {
return error;
}
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins