81 |
|
|
82 |
/* some reasonable strength */ |
/* some reasonable strength */ |
83 |
xstr = FT_MulFix( face->units_per_EM, |
xstr = FT_MulFix( face->units_per_EM, |
84 |
face->size->metrics.y_scale ) / 42; |
face->size->metrics.y_scale ) / 24; |
85 |
ystr = xstr; |
ystr = xstr; |
86 |
|
|
87 |
if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) |
if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) |
122 |
/* modify the metrics accordingly */ |
/* modify the metrics accordingly */ |
123 |
if ( !error ) |
if ( !error ) |
124 |
{ |
{ |
125 |
|
/* assume the layout is horizontal */ |
126 |
slot->advance.x += xstr; |
slot->advance.x += xstr; |
|
slot->advance.y += ystr; |
|
127 |
|
|
128 |
slot->metrics.width += xstr; |
slot->metrics.width += xstr; |
129 |
slot->metrics.height += ystr; |
slot->metrics.height += ystr; |