forked from minhngoc25a/freetype2
* src/cff/cffobjs.c (cff_face_init): Remove compiler warning.
Suggested by Bram Tassyns in Savannah patch #6651.
This commit is contained in:
parent
174b8de328
commit
822604c831
|
@ -1,3 +1,8 @@
|
|||
2008-10-14 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cff/cffobjs.c (cff_face_init): Remove compiler warning.
|
||||
Suggested by Bram Tassyns in Savannah patch #6651.
|
||||
|
||||
2008-10-12 Graham Asher <graham.asher@btinternet.com>
|
||||
|
||||
* src/sfnt/sfobjs.c (sfnt_load_face): Fix computation of
|
||||
|
|
|
@ -659,8 +659,7 @@
|
|||
cffface->bbox.xMax = ( dict->font_bbox.xMax + 0xFFFFU ) >> 16;
|
||||
cffface->bbox.yMax = ( dict->font_bbox.yMax + 0xFFFFU ) >> 16;
|
||||
|
||||
|
||||
cffface->units_per_EM = dict->units_per_em;
|
||||
cffface->units_per_EM = (FT_UShort)( dict->units_per_em );
|
||||
|
||||
cffface->ascender = (FT_Short)( cffface->bbox.yMax );
|
||||
cffface->descender = (FT_Short)( cffface->bbox.yMin );
|
||||
|
|
Loading…
Reference in New Issue