Fixed computation of `face->height'.

This commit is contained in:
Tom Kacvinsky 2000-11-30 21:56:55 +00:00
parent 4efbfc9ba2
commit 410a3e4646
1 changed files with 1 additions and 1 deletions

View File

@ -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 */