| 1 | /***************************************************************************/ |
| 2 | /* */ |
| 3 | /* ttbdf.h */ |
| 4 | /* */ |
| 5 | /* TrueType and OpenType embedded BDF properties (specification). */ |
| 6 | /* */ |
| 7 | /* Copyright 2005-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 TTBDF_H_ |
| 20 | #define TTBDF_H_ |
| 21 | |
| 22 | |
| 23 | #include <ft2build.h> |
| 24 | #include "ttload.h" |
| 25 | #include FT_BDF_H |
| 26 | |
| 27 | |
| 28 | FT_BEGIN_HEADER |
| 29 | |
| 30 | |
| 31 | #ifdef TT_CONFIG_OPTION_BDF |
| 32 | |
| 33 | FT_LOCAL( void ) |
| 34 | tt_face_free_bdf_props( TT_Face face ); |
| 35 | |
| 36 | |
| 37 | FT_LOCAL( FT_Error ) |
| 38 | tt_face_find_bdf_prop( TT_Face face, |
| 39 | const char* property_name, |
| 40 | BDF_PropertyRec *aprop ); |
| 41 | |
| 42 | #endif /* TT_CONFIG_OPTION_BDF */ |
| 43 | |
| 44 | |
| 45 | FT_END_HEADER |
| 46 | |
| 47 | #endif /* TTBDF_H_ */ |
| 48 | |
| 49 | |
| 50 | /* END */ |
| 51 | |