* docs/CHANGES: Updated.

* src/winfonts/winfnt.c (FNT_Size_Set_Pixels): Fix sign of
size->metrics.descender.
This commit is contained in:
Werner Lemberg 2004-01-02 16:33:04 +00:00
parent 84c60bba18
commit 9914b97af2
3 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2004-01-01 Werner Lemberg <wl@gnu.org>
* docs/CHANGES: Updated.
2004-01-01 Michael Jansson <mjan@em2-solutions.com>
* src/winfonts/winfnt.c (FNT_Size_Set_Pixels): Fix sign of
size->metrics.descender.
2003-12-31 Wolfgang Domröse <porthos.domroese@harz.de>
* src/cff/cffgload.c (cff_decoder_parse_charstrings)

View File

@ -24,6 +24,9 @@ LATEST CHANGES BETWEEN 2.1.8 and 2.1.7
but one encoding. Use the new FT_WinFNT_ID_XXX values together
with FT_Get_WinFNT_Header() to get the WinFNT charset ID.
- The descender metrics (face->size->metrics.descender) for WinFNT
bitmap fonts had the wrong sign.
II. IMPORTANT CHANGES

View File

@ -543,8 +543,8 @@
size->metrics.ascender = font->header.ascent * 64;
size->metrics.descender = ( font->header.pixel_height -
font->header.ascent ) * 64;
size->metrics.descender = -( font->header.pixel_height -
font->header.ascent ) * 64;
size->metrics.height = font->header.pixel_height * 64;
size->metrics.max_advance = font->header.max_width * 64;