Fixed computation of `face->height'.

david-pic-changes
Tom Kacvinsky 24 years ago
parent 21da848451
commit 16bf6da6d9
  1. 2
      src/type1/t1objs.c

@ -285,7 +285,7 @@
root->units_per_EM = 1000;
root->ascender = (FT_Short)face->type1.font_bbox.yMax;
root->descender = (FT_Short)face->type1.font_bbox.yMin;
root->height = ( ( root->ascender + root->descender ) * 12 ) / 10;
root->height = ( ( root->ascender - root->descender ) * 12 ) / 10;
/* now compute the maximum advance width */

Loading…
Cancel
Save