diff options
author | David Turner <david@freetype.org> | 2002-03-06 12:38:15 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2002-03-06 12:38:15 +0000 |
commit | acfea4ddd9ba75cf207a922146b5fbef7fddb71b (patch) | |
tree | 7c5af74a0cba4274a4cfbd4a9bb81c1d2a137d8f /src/cid | |
parent | 9ddeee1d41420b82ac2120a3f471b9aea35c56f0 (diff) | |
download | freetype2-acfea4ddd9ba75cf207a922146b5fbef7fddb71b.tar.gz |
* src/type1/t1objs.c (T1_Face_Init), src/cid/cidobjs.c (CID_Face_Init):
fixed another bug related to the ascender/descender/text height of
Postscript fonts. Damn, this should have been fixed on 2002-03-04 !
Diffstat (limited to 'src/cid')
-rw-r--r-- | src/cid/cidobjs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cid/cidobjs.c b/src/cid/cidobjs.c index 8cd91f3a4..1c7207ee8 100644 --- a/src/cid/cidobjs.c +++ b/src/cid/cidobjs.c @@ -390,8 +390,8 @@ if ( !root->units_per_EM ) root->units_per_EM = 1000; - root->ascender = (FT_Short)( face->cid.font_bbox.yMax ); - root->descender = (FT_Short)( face->cid.font_bbox.yMin ); + root->ascender = (FT_Short)( root->bbox.yMax ); + root->descender = (FT_Short)( root->bbox.yMin ); root->height = (FT_Short)( ( ( root->ascender + root->descender ) * 12 ) / 10 ); |