forked from pool/freetype2
cf3ce800d7
OBS-URL: https://build.opensuse.org/request/show/51658 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=34
17 lines
636 B
Diff
17 lines
636 B
Diff
Index: freetype-2.4.3/src/base/ftobjs.c
|
|
===================================================================
|
|
--- freetype-2.4.3.orig/src/base/ftobjs.c 2010-10-29 15:58:01.000000000 +0200
|
|
+++ freetype-2.4.3/src/base/ftobjs.c 2010-10-29 16:01:57.187258621 +0200
|
|
@@ -2153,6 +2153,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;
|
|
|