2007-10-09 17:08:08 +02:00
|
|
|
Index: freetype-2.3.5/src/base/ftobjs.c
|
|
|
|
===================================================================
|
2007-10-03 00:52:44 +02:00
|
|
|
--- freetype-2.3.5.orig/src/base/ftobjs.c
|
|
|
|
+++ freetype-2.3.5/src/base/ftobjs.c
|
2007-10-09 17:08:08 +02:00
|
|
|
@@ -1820,6 +1820,11 @@
|
|
|
|
|
2007-10-03 00:52:44 +02:00
|
|
|
if ( FT_IS_SCALABLE( face ) )
|
|
|
|
{
|
|
|
|
+ if ( strncmp("CMEX", face->family_name, 4 ) == 0){
|
2007-10-09 17:08:08 +02:00
|
|
|
+ face->underline_position = (FT_Short)( -face->units_per_EM / 10 );
|
|
|
|
+ face->underline_thickness = (FT_Short)( face->units_per_EM / 30 );
|
2007-10-03 00:52:44 +02:00
|
|
|
+ }
|
|
|
|
+
|
|
|
|
if ( face->height < 0 )
|
|
|
|
face->height = (FT_Short)-face->height;
|
2007-10-09 17:08:08 +02:00
|
|
|
|