Reduce warnings for MS Visual Studio 2010.
* src/autofit/afhints.c (af_glyph_hints_get_num_segments, af_glyph_hints_get_segment_offset) [!FT_DEBUG_AUTOFIT]: Provide return value. * src/cff/cffgload.c (cff_slot_load): Add cast. * src/truetype/ttobjs.c (tt_check_trickyness_sfnt_ids): Use proper loop variable type.
This commit is contained in:
parent
79405d75c0
commit
3ad8f35537
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2011-05-24 Daniel Zimmermann <netzimme@googlemail.com>
|
||||||
|
|
||||||
|
Reduce warnings for MS Visual Studio 2010.
|
||||||
|
|
||||||
|
* src/autofit/afhints.c (af_glyph_hints_get_num_segments,
|
||||||
|
af_glyph_hints_get_segment_offset) [!FT_DEBUG_AUTOFIT]: Provide
|
||||||
|
return value.
|
||||||
|
* src/cff/cffgload.c (cff_slot_load): Add cast.
|
||||||
|
* src/truetype/ttobjs.c (tt_check_trickyness_sfnt_ids): Use proper
|
||||||
|
loop variable type.
|
||||||
|
|
||||||
2011-05-16 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
2011-05-16 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||||
|
|
||||||
Automake component `builds/unix/install-sh' is removed.
|
Automake component `builds/unix/install-sh' is removed.
|
||||||
|
|
|
@ -420,6 +420,8 @@
|
||||||
FT_UNUSED( hints );
|
FT_UNUSED( hints );
|
||||||
FT_UNUSED( dimension );
|
FT_UNUSED( dimension );
|
||||||
FT_UNUSED( num_segments );
|
FT_UNUSED( num_segments );
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -433,6 +435,8 @@
|
||||||
FT_UNUSED( dimension );
|
FT_UNUSED( dimension );
|
||||||
FT_UNUSED( idx );
|
FT_UNUSED( idx );
|
||||||
FT_UNUSED( offset );
|
FT_UNUSED( offset );
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2706,7 +2706,7 @@
|
||||||
glyph_index );
|
glyph_index );
|
||||||
|
|
||||||
if ( fd_index >= cff->num_subfonts )
|
if ( fd_index >= cff->num_subfonts )
|
||||||
fd_index = cff->num_subfonts - 1;
|
fd_index = (FT_Byte)( cff->num_subfonts - 1 );
|
||||||
|
|
||||||
top_upm = cff->top_font.font_dict.units_per_em;
|
top_upm = cff->top_font.font_dict.units_per_em;
|
||||||
sub_upm = cff->subfonts[fd_index]->font_dict.units_per_em;
|
sub_upm = cff->subfonts[fd_index]->font_dict.units_per_em;
|
||||||
|
|
|
@ -323,7 +323,8 @@
|
||||||
FT_ULong checksum;
|
FT_ULong checksum;
|
||||||
int num_matched_ids[TRICK_SFNT_IDS_NUM_FACES];
|
int num_matched_ids[TRICK_SFNT_IDS_NUM_FACES];
|
||||||
FT_Bool has_cvt, has_fpgm, has_prep;
|
FT_Bool has_cvt, has_fpgm, has_prep;
|
||||||
int i, j, k;
|
FT_UShort i;
|
||||||
|
int j, k;
|
||||||
|
|
||||||
|
|
||||||
FT_MEM_SET( num_matched_ids, 0,
|
FT_MEM_SET( num_matched_ids, 0,
|
||||||
|
|
Loading…
Reference in New Issue