[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
positive descender with type1 fonts
From: |
Fleischer, Karsten (K.) |
Subject: |
positive descender with type1 fonts |
Date: |
Tue, 19 Sep 2000 09:15:36 -0400 |
Hi,
when using Type1 fonts with FreeType2-current (as of Sept. 5th) the
descender is set to a positive value.
Changing the following lines in type1z/z1objs.c, function Z1_Init_Face
root->descender = -(FT_Short)face->type1.font_bbox.yMin;
root->height = ( ( root->ascender + root->descender ) * 12 ) /
10;
to
root->descender = (FT_Short)face->type1.font_bbox.yMin;
root->height = ( ( root->ascender - root->descender ) * 12 ) /
10;
fixes it, right?
Karsten
- positive descender with type1 fonts,
Fleischer, Karsten (K.) <=