Introduce list of used features in `feature_tags'.
[ttfautohint.git] / lib / taharfbuzz.h
blobae5d75ef04002a910677497c376099465c78708c
1 /* taharfbuzz.h */
3 /*
4 * Copyright (C) 2014-2015 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 /* originally file `hbshim.h' (2014-Jan-11) from FreeType */
18 /* heavily modified 2014 by Werner Lemberg <wl@gnu.org> */
20 #ifndef __TAHARFBUZZ_H__
21 #define __TAHARFBUZZ_H__
24 #include <ft2build.h>
25 #include FT_FREETYPE_H
27 #include <hb.h>
28 #include <hb-ot.h>
29 #include <hb-ft.h>
31 #include "ta.h"
34 /* in file `tafeature.c' */
35 extern const hb_tag_t feature_tags[];
36 extern size_t feature_tags_size;
39 FT_Error
40 ta_get_coverage(TA_FaceGlobals globals,
41 TA_StyleClass style_class,
42 FT_Byte* gstyles);
44 FT_Error
45 ta_get_char_index(TA_StyleMetrics metrics,
46 FT_ULong charcode,
47 FT_ULong *codepoint,
48 FT_Long *y_offset);
50 #endif /* __TAHARFBUZZ_H__ */
52 /* end of taharfbuzz.h */