1cdac10d3a
* include/freetype/internal/sfnt.h (TT_Get_Name_Func): New prototype. (SFNT_Interface, FT_DEFINE_SFNT_INTERFACE): New member `get_name'. * src/sfnt/sfdriver.c (sfnt_interface): Updated. * src/sfnt/sfobjs.c (tt_face_get_name): Tag it with `LOCAL_DEF'. * src/sfnt/sfobjs.h: Add prototype for it.
60 lines
2.1 KiB
C
60 lines
2.1 KiB
C
/***************************************************************************/
|
|
/* */
|
|
/* sfobjs.h */
|
|
/* */
|
|
/* SFNT object management (specification). */
|
|
/* */
|
|
/* Copyright 1996-2015 by */
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
/* */
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
/* this file you indicate that you have read the license and */
|
|
/* understand and accept it fully. */
|
|
/* */
|
|
/***************************************************************************/
|
|
|
|
|
|
#ifndef __SFOBJS_H__
|
|
#define __SFOBJS_H__
|
|
|
|
|
|
#include <ft2build.h>
|
|
#include FT_INTERNAL_SFNT_H
|
|
#include FT_INTERNAL_OBJECTS_H
|
|
|
|
|
|
FT_BEGIN_HEADER
|
|
|
|
|
|
FT_LOCAL( FT_Error )
|
|
sfnt_init_face( FT_Stream stream,
|
|
TT_Face face,
|
|
FT_Int face_index,
|
|
FT_Int num_params,
|
|
FT_Parameter* params );
|
|
|
|
FT_LOCAL( FT_Error )
|
|
sfnt_load_face( FT_Stream stream,
|
|
TT_Face face,
|
|
FT_Int face_index,
|
|
FT_Int num_params,
|
|
FT_Parameter* params );
|
|
|
|
FT_LOCAL( void )
|
|
sfnt_done_face( TT_Face face );
|
|
|
|
FT_LOCAL( FT_Error )
|
|
tt_face_get_name( TT_Face face,
|
|
FT_UShort nameid,
|
|
FT_String** name );
|
|
|
|
|
|
FT_END_HEADER
|
|
|
|
#endif /* __SFDRIVER_H__ */
|
|
|
|
|
|
/* END */
|