|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* Load the metrics tables common to TTF and OTF fonts (body). */ |
|
|
|
|
/* */ |
|
|
|
|
/* Copyright 2006, 2007 by */ |
|
|
|
|
/* Copyright 2006, 2007, 2008 by */ |
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
|
|
|
|
/* */ |
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */ |
|
|
|
@ -60,7 +60,7 @@ |
|
|
|
|
/* <Return> */ |
|
|
|
|
/* FreeType error code. 0 means success. */ |
|
|
|
|
/* */ |
|
|
|
|
#if !defined FT_CONFIG_OPTION_OLD_INTERNALS |
|
|
|
|
#ifndef FT_CONFIG_OPTION_OLD_INTERNALS |
|
|
|
|
|
|
|
|
|
FT_LOCAL_DEF( FT_Error ) |
|
|
|
|
tt_face_load_hmtx( TT_Face face, |
|
|
|
@ -97,7 +97,7 @@ |
|
|
|
|
return error; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#else /* !OPTIMIZE_MEMORY || OLD_INTERNALS */ |
|
|
|
|
#else /* !FT_CONFIG_OPTION_OLD_INTERNALS */ |
|
|
|
|
|
|
|
|
|
FT_LOCAL_DEF( FT_Error ) |
|
|
|
|
tt_face_load_hmtx( TT_Face face, |
|
|
|
@ -229,7 +229,7 @@ |
|
|
|
|
return error; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endif /* !OPTIMIZE_MEMORY || OLD_INTERNALS */ |
|
|
|
|
#endif /* !FT_CONFIG_OPTION_OLD_INTERNALS */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -341,7 +341,7 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* advance :: The advance width resp. advance height. */ |
|
|
|
|
/* */ |
|
|
|
|
#if !defined FT_CONFIG_OPTION_OLD_INTERNALS |
|
|
|
|
#ifndef FT_CONFIG_OPTION_OLD_INTERNALS |
|
|
|
|
|
|
|
|
|
FT_LOCAL_DEF( FT_Error ) |
|
|
|
|
tt_face_get_metrics( TT_Face face, |
|
|
|
@ -420,7 +420,7 @@ |
|
|
|
|
return SFNT_Err_Ok; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#else /* OLD_INTERNALS */ |
|
|
|
|
#else /* !FT_CONFIG_OPTION_OLD_INTERNALS */ |
|
|
|
|
|
|
|
|
|
FT_LOCAL_DEF( FT_Error ) |
|
|
|
|
tt_face_get_metrics( TT_Face face, |
|
|
|
@ -460,7 +460,7 @@ |
|
|
|
|
return SFNT_Err_Ok; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endif /* !OPTIMIZE_MEMORY || OLD_INTERNALS */ |
|
|
|
|
#endif /* !FT_CONFIG_OPTION_OLD_INTERNALS */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* END */ |
|
|
|
|