diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/src/lib/engines/common/evas_font_ot.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/libraries/evas/src/lib/engines/common/evas_font_ot.h b/libraries/evas/src/lib/engines/common/evas_font_ot.h deleted file mode 100644 index bc5ab02..0000000 --- a/libraries/evas/src/lib/engines/common/evas_font_ot.h +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | #ifndef _EVAS_FONT_OT_H | ||
2 | # define _EVAS_FONT_OT_H | ||
3 | |||
4 | # ifdef HAVE_CONFIG_H | ||
5 | # include "config.h" | ||
6 | # endif | ||
7 | |||
8 | # ifdef HAVE_HARFBUZZ | ||
9 | # define OT_SUPPORT | ||
10 | # define USE_HARFBUZZ | ||
11 | # endif | ||
12 | |||
13 | # ifdef OT_SUPPORT | ||
14 | # include <stdlib.h> | ||
15 | typedef struct _Evas_Font_OT_Info Evas_Font_OT_Info; | ||
16 | # else | ||
17 | typedef void *Evas_Font_OT_Info; | ||
18 | # endif | ||
19 | |||
20 | # include "Evas.h" | ||
21 | |||
22 | # ifdef OT_SUPPORT | ||
23 | struct _Evas_Font_OT_Info | ||
24 | { | ||
25 | size_t source_cluster; | ||
26 | Evas_Coord x_offset; | ||
27 | Evas_Coord y_offset; | ||
28 | }; | ||
29 | # endif | ||
30 | |||
31 | # ifdef OT_SUPPORT | ||
32 | # define EVAS_FONT_OT_X_OFF_GET(a) ((a).x_offset) | ||
33 | # define EVAS_FONT_OT_Y_OFF_GET(a) ((a).y_offset) | ||
34 | # define EVAS_FONT_OT_POS_GET(a) ((a).source_cluster) | ||
35 | # endif | ||
36 | |||
37 | # include "evas_text_utils.h" | ||
38 | EAPI int | ||
39 | evas_common_font_ot_cluster_size_get(const Evas_Text_Props *props, size_t char_index); | ||
40 | |||
41 | EAPI Eina_Bool | ||
42 | evas_common_font_ot_populate_text_props(const Eina_Unicode *text, | ||
43 | Evas_Text_Props *props, int len); | ||
44 | #endif | ||
45 | |||