Use `Control_Type' to handle different segment directions.
[ttfautohint.git] / lib / taharfbuzz.h
blob7f6fe46daf03046fb818234ce8853548808c7a3b
1 /* taharfbuzz.h */
3 /*
4 * Copyright (C) 2014 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 FT_Error
35 ta_get_coverage(TA_FaceGlobals globals,
36 TA_StyleClass style_class,
37 FT_Byte* gstyles);
39 FT_Error
40 ta_get_char_index(TA_StyleMetrics metrics,
41 FT_ULong charcode,
42 FT_ULong *codepoint,
43 FT_Long *y_offset);
45 #endif /* __TAHARFBUZZ_H__ */
47 /* end of taharfbuzz.h */