forked from pool/freetype2
3147ed888f
OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=73a03aeb5d0eeb56ffb9940f8c4d089e
17 lines
639 B
Diff
17 lines
639 B
Diff
Index: freetype-2.3.12/src/base/ftobjs.c
|
|
===================================================================
|
|
--- freetype-2.3.12.orig/src/base/ftobjs.c 2010-01-23 13:44:16.000000000 +0100
|
|
+++ freetype-2.3.12/src/base/ftobjs.c 2010-03-31 16:23:42.000000000 +0200
|
|
@@ -2103,6 +2103,11 @@
|
|
|
|
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;
|
|
|