Merge branch 'upstream' into tizen
[platform/upstream/freetype2.git] / src / base / ftobjs.c
index c060bbb..09f5136 100644 (file)
 
     if ( FT_IS_SCALABLE( face ) )
     {
+      if ( face->family_name && strncmp(face->family_name, "CMEX", 4 ) == 0){
+       face->underline_position = (FT_Short)( -face->units_per_EM / 10 );
+       face->underline_thickness = (FT_Short)( face->units_per_EM / 30 );
+      }
+
       if ( face->height < 0 )
         face->height = (FT_Short)-face->height;