- Timestamp:
- Mar 31, 2011, 4:08:18 PM (10 years ago)
- Location:
- trunk/poppler/freetype2/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/poppler/freetype2/src/base/ftoutln.c
r470 r479 958 958 959 959 outline->points[n].x = v_cur.x + strength + in.x; 960 #ifdef __OS2__ 961 outline->points[n].y = v_cur.y; 962 #else 960 963 outline->points[n].y = v_cur.y + strength + in.y; 964 #endif 961 965 962 966 v_prev = v_cur; -
trunk/poppler/freetype2/src/base/ftsynth.c
r470 r479 94 94 return; 95 95 96 #ifdef __OS2__ 97 /* some reasonable strength,, PmW make 1px expand to 2px */ 98 xstr = FT_MulFix( face->units_per_EM, 99 face->size->metrics.y_scale ) / 16; 100 ystr = 0; 101 #else 96 102 /* some reasonable strength */ 97 103 xstr = FT_MulFix( face->units_per_EM, 98 104 face->size->metrics.y_scale ) / 24; 99 105 ystr = xstr; 106 #endif 100 107 101 108 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) … … 107 114 /* values, you have to call FT_Outline_Get_CBox */ 108 115 xstr = xstr * 2; 116 #ifndef __OS2__ 109 117 ystr = xstr; 118 #endif 110 119 } 111 120 else /* slot->format == FT_GLYPH_FORMAT_BITMAP */ -
trunk/poppler/freetype2/src/sfnt/sfobjs.c
r470 r479 740 740 if ( face->os2.version != 0xFFFFU && face->os2.fsSelection & 256 ) 741 741 { 742 #ifndef __OS2__ /* PmW: don't use the preferred properties on OS/2 */ 742 743 if ( !ignore_preferred_family ) 743 744 GET_NAME( PREFERRED_FAMILY, &face->root.family_name ); 744 745 if ( !face->root.family_name ) 746 #endif 745 747 GET_NAME( FONT_FAMILY, &face->root.family_name ); 746 748 749 #ifndef __OS2__ /* PmW: don't use the preferred properties on OS/2 */ 747 750 if ( !ignore_preferred_subfamily ) 748 751 GET_NAME( PREFERRED_SUBFAMILY, &face->root.style_name ); 749 752 if ( !face->root.style_name ) 753 #endif 750 754 GET_NAME( FONT_SUBFAMILY, &face->root.style_name ); 751 755 }
Note: See TracChangeset
for help on using the changeset viewer.