Fix `FT_LOCAL` and `FT_LOCAL_DEF` tags.
This commit is contained in:
parent
ac5babe876
commit
663486a7ac
|
@ -158,7 +158,7 @@ FT_BEGIN_HEADER
|
||||||
FT_LOCAL( void )
|
FT_LOCAL( void )
|
||||||
af_face_globals_free( AF_FaceGlobals globals );
|
af_face_globals_free( AF_FaceGlobals globals );
|
||||||
|
|
||||||
FT_LOCAL_DEF( FT_Bool )
|
FT_LOCAL( FT_Bool )
|
||||||
af_face_globals_is_digit( AF_FaceGlobals globals,
|
af_face_globals_is_digit( AF_FaceGlobals globals,
|
||||||
FT_UInt gindex );
|
FT_UInt gindex );
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
/* Get new edge for given axis, direction, and position, */
|
/* Get new edge for given axis, direction, and position, */
|
||||||
/* without initializing the edge itself. */
|
/* without initializing the edge itself. */
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
FT_LOCAL_DEF( FT_Error )
|
||||||
af_axis_hints_new_edge( AF_AxisHints axis,
|
af_axis_hints_new_edge( AF_AxisHints axis,
|
||||||
FT_Int fpos,
|
FT_Int fpos,
|
||||||
AF_Direction dir,
|
AF_Direction dir,
|
||||||
|
|
|
@ -75,7 +75,7 @@ FT_BEGIN_HEADER
|
||||||
FT_UInt gindex,
|
FT_UInt gindex,
|
||||||
FT_Int32 load_flags );
|
FT_Int32 load_flags );
|
||||||
|
|
||||||
FT_LOCAL_DEF( FT_Fixed )
|
FT_LOCAL( FT_Fixed )
|
||||||
af_loader_compute_darkening( AF_Loader loader,
|
af_loader_compute_darkening( AF_Loader loader,
|
||||||
FT_Face face,
|
FT_Face face,
|
||||||
FT_Pos standard_width );
|
FT_Pos standard_width );
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
FT_LOCAL_DEF( FT_Error )
|
||||||
cid_size_request( FT_Size size,
|
cid_size_request( FT_Size size,
|
||||||
FT_Size_Request req )
|
FT_Size_Request req )
|
||||||
{
|
{
|
||||||
|
|
|
@ -580,7 +580,7 @@
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
FT_LOCAL_DEF( FT_Error )
|
||||||
pfr_slot_load_bitmap( PFR_Slot glyph,
|
pfr_slot_load_bitmap( PFR_Slot glyph,
|
||||||
PFR_Size size,
|
PFR_Size size,
|
||||||
FT_UInt glyph_index,
|
FT_UInt glyph_index,
|
||||||
|
|
|
@ -563,7 +563,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FT_LOCAL( void )
|
FT_LOCAL_DEF( void )
|
||||||
afm_parser_done( AFM_Parser parser )
|
afm_parser_done( AFM_Parser parser )
|
||||||
{
|
{
|
||||||
FT_Memory memory = parser->memory;
|
FT_Memory memory = parser->memory;
|
||||||
|
|
|
@ -765,7 +765,7 @@
|
||||||
|
|
||||||
|
|
||||||
/* destroy hints */
|
/* destroy hints */
|
||||||
FT_LOCAL( void )
|
FT_LOCAL_DEF( void )
|
||||||
ps_hints_done( PS_Hints hints )
|
ps_hints_done( PS_Hints hints )
|
||||||
{
|
{
|
||||||
FT_Memory memory = hints->memory;
|
FT_Memory memory = hints->memory;
|
||||||
|
@ -779,7 +779,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FT_LOCAL( void )
|
FT_LOCAL_DEF( void )
|
||||||
ps_hints_init( PS_Hints hints,
|
ps_hints_init( PS_Hints hints,
|
||||||
FT_Memory memory )
|
FT_Memory memory )
|
||||||
{
|
{
|
||||||
|
|
|
@ -3879,13 +3879,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
FT_LOCAL_DEF( FT_Error )
|
||||||
tt_get_cmap_info( FT_CharMap charmap,
|
tt_get_cmap_info( FT_CharMap charmap,
|
||||||
TT_CMapInfo *cmap_info )
|
TT_CMapInfo *cmap_info )
|
||||||
{
|
{
|
||||||
FT_CMap cmap = (FT_CMap)charmap;
|
FT_CMap cmap = (FT_CMap)charmap;
|
||||||
TT_CMap_Class clazz = (TT_CMap_Class)cmap->clazz;
|
TT_CMap_Class clazz = (TT_CMap_Class)cmap->clazz;
|
||||||
|
|
||||||
|
|
||||||
if ( clazz->get_cmap_info )
|
if ( clazz->get_cmap_info )
|
||||||
return clazz->get_cmap_info( charmap, cmap_info );
|
return clazz->get_cmap_info( charmap, cmap_info );
|
||||||
else
|
else
|
||||||
|
|
|
@ -1593,7 +1593,7 @@
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
FT_LOCAL( FT_Error )
|
FT_LOCAL_DEF( FT_Error )
|
||||||
tt_face_load_sbit_image( TT_Face face,
|
tt_face_load_sbit_image( TT_Face face,
|
||||||
FT_ULong strike_index,
|
FT_ULong strike_index,
|
||||||
FT_UInt glyph_index,
|
FT_UInt glyph_index,
|
||||||
|
|
Loading…
Reference in New Issue