* src/autofit/aflatin.c, src/cff/cffdriver.c, src/truetype/ttobjs.c,
src/truetype/ttinterp.c: fixing compiler warnings
This commit is contained in:
parent
9b774e2822
commit
2212272992
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-16 David Turner <david@freetype.org>
|
||||||
|
|
||||||
|
* src/autofit/aflatin.c, src/cff/cffdriver.c, src/truetype/ttobjs.c,
|
||||||
|
src/truetype/ttinterp.c: fixing compiler warnings
|
||||||
|
|
||||||
2007-01-15 Detlef Würkner <TetiSoft@apg.lahn.de>
|
2007-01-15 Detlef Würkner <TetiSoft@apg.lahn.de>
|
||||||
|
|
||||||
* builds/amiga/makefile, builds/amiga/makefile.os4,
|
* builds/amiga/makefile, builds/amiga/makefile.os4,
|
||||||
|
|
|
@ -723,7 +723,7 @@
|
||||||
|
|
||||||
segment->min_coord = (FT_Short)min_pos;
|
segment->min_coord = (FT_Short)min_pos;
|
||||||
segment->max_coord = (FT_Short)max_pos;
|
segment->max_coord = (FT_Short)max_pos;
|
||||||
segment->height = segment->max_coord - segment->min_coord;
|
segment->height = (FT_Short)(segment->max_coord - segment->min_coord);
|
||||||
|
|
||||||
on_edge = 0;
|
on_edge = 0;
|
||||||
segment = NULL;
|
segment = NULL;
|
||||||
|
|
|
@ -337,8 +337,8 @@
|
||||||
cff->psnames );
|
cff->psnames );
|
||||||
font_info->italic_angle = dict->italic_angle;
|
font_info->italic_angle = dict->italic_angle;
|
||||||
font_info->is_fixed_pitch = dict->is_fixed_pitch;
|
font_info->is_fixed_pitch = dict->is_fixed_pitch;
|
||||||
font_info->underline_position = dict->underline_position;
|
font_info->underline_position = (FT_Short) dict->underline_position;
|
||||||
font_info->underline_thickness = dict->underline_thickness;
|
font_info->underline_thickness = (FT_Short) dict->underline_thickness;
|
||||||
|
|
||||||
cff->font_info = font_info;
|
cff->font_info = font_info;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5417,7 +5417,7 @@
|
||||||
first_point = (FT_UShort)( CUR.pts.contours[contour - 1] + 1 -
|
first_point = (FT_UShort)( CUR.pts.contours[contour - 1] + 1 -
|
||||||
CUR.pts.first_point );
|
CUR.pts.first_point );
|
||||||
|
|
||||||
last_point = CUR.pts.contours[contour] - CUR.pts.first_point;
|
last_point = (FT_UShort)(CUR.pts.contours[contour] - CUR.pts.first_point);
|
||||||
|
|
||||||
/* XXX: this is probably wrong... at least it prevents memory */
|
/* XXX: this is probably wrong... at least it prevents memory */
|
||||||
/* corruption when zp2 is the twilight zone */
|
/* corruption when zp2 is the twilight zone */
|
||||||
|
|
|
@ -292,7 +292,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ttface->internal->ignore_unpatented_hinter = !unpatented_hinting;
|
ttface->internal->ignore_unpatented_hinter = FT_BOOL(!unpatented_hinting);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* TT_CONFIG_OPTION_UNPATENTED_HINTING &&
|
#endif /* TT_CONFIG_OPTION_UNPATENTED_HINTING &&
|
||||||
|
|
Loading…
Reference in New Issue