1 /***************************************************************************/ 2 /* */ 3 /* hbshim.h */ 4 /* */ 5 /* HarfBuzz interface for accessing OpenType features (specification). */ 6 /* */ 7 /* Copyright 2013-2015 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 __HBSHIM_H__ 20 #define __HBSHIM_H__ 21 22 23 #include <ft2build.h> 24 #include FT_FREETYPE_H 25 26 27 #ifdef FT_CONFIG_OPTION_USE_HARFBUZZ 28 29 #include <hb.h> 30 #include <hb-ot.h> 31 #include <hb-ft.h> 32 33 #endif 34 35 36 FT_BEGIN_HEADER 37 38 FT_Error 39 af_get_coverage( AF_FaceGlobals globals, 40 AF_StyleClass style_class, 41 FT_Byte* gstyles ); 42 43 FT_Error 44 af_get_char_index( AF_StyleMetrics metrics, 45 FT_ULong charcode, 46 FT_ULong *codepoint, 47 FT_Long *y_offset ); 48 49 /* */ 50 51 FT_END_HEADER 52 53 #endif /* __HBSHIM_H__ */ 54 55 56 /* END */ 57