Fixed computation of `face->height'.

This commit is contained in:
Tom Kacvinsky 2000-11-30 21:56:55 +00:00
parent 21da848451
commit 16bf6da6d9

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