From 5387d894a932783d66f364c2958cd52d0cb653de Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 8 Nov 2000 19:40:08 +0000 Subject: [PATCH] fixed max advance width for fixed-pitch T1 fonts --- src/type1/t1objs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/type1/t1objs.c b/src/type1/t1objs.c index d58659486..e092b2bb4 100644 --- a/src/type1/t1objs.c +++ b/src/type1/t1objs.c @@ -270,10 +270,8 @@ /* now compute the maximum advance width */ - root->max_advance_width = face->type1.private_dict.standard_width[0]; - /* compute max advance width for proportional fonts */ - if ( !face->type1.font_info.is_fixed_pitch ) + root->max_advance_width = face->type1.font_bbox.xMax; { FT_Int max_advance;