| 1 | /***************************************************************************/ |
| 2 | /* */ |
| 3 | /* sfobjs.h */ |
| 4 | /* */ |
| 5 | /* SFNT object management (specification). */ |
| 6 | /* */ |
| 7 | /* Copyright 1996-2018 by */ |
| 8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
| 9 | /* */ |
| 10 | /* This file is part of the FreeType project, and may only be used, */ |
| 11 | /* modified, and distributed under the terms of the FreeType project */ |
| 12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
| 13 | /* this file you indicate that you have read the license and */ |
| 14 | /* understand and accept it fully. */ |
| 15 | /* */ |
| 16 | /***************************************************************************/ |
| 17 | |
| 18 | |
| 19 | #ifndef SFOBJS_H_ |
| 20 | #define SFOBJS_H_ |
| 21 | |
| 22 | |
| 23 | #include <ft2build.h> |
| 24 | #include FT_INTERNAL_SFNT_H |
| 25 | #include FT_INTERNAL_OBJECTS_H |
| 26 | |
| 27 | |
| 28 | FT_BEGIN_HEADER |
| 29 | |
| 30 | |
| 31 | FT_LOCAL( FT_Error ) |
| 32 | sfnt_init_face( FT_Stream stream, |
| 33 | TT_Face face, |
| 34 | FT_Int face_instance_index, |
| 35 | FT_Int num_params, |
| 36 | FT_Parameter* params ); |
| 37 | |
| 38 | FT_LOCAL( FT_Error ) |
| 39 | sfnt_load_face( FT_Stream stream, |
| 40 | TT_Face face, |
| 41 | FT_Int face_instance_index, |
| 42 | FT_Int num_params, |
| 43 | FT_Parameter* params ); |
| 44 | |
| 45 | FT_LOCAL( void ) |
| 46 | sfnt_done_face( TT_Face face ); |
| 47 | |
| 48 | FT_LOCAL( FT_Error ) |
| 49 | tt_face_get_name( TT_Face face, |
| 50 | FT_UShort nameid, |
| 51 | FT_String** name ); |
| 52 | |
| 53 | |
| 54 | FT_END_HEADER |
| 55 | |
| 56 | #endif /* SFDRIVER_H_ */ |
| 57 | |
| 58 | |
| 59 | /* END */ |
| 60 | |