OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2009 Red Hat, Inc. | 2 * Copyright © 2009 Red Hat, Inc. |
3 * | 3 * |
4 * This is part of HarfBuzz, a text shaping library. | 4 * This is part of HarfBuzz, a text shaping library. |
5 * | 5 * |
6 * Permission is hereby granted, without written agreement and without | 6 * Permission is hereby granted, without written agreement and without |
7 * license or royalty fees, to use, copy, modify, and distribute this | 7 * license or royalty fees, to use, copy, modify, and distribute this |
8 * software and its documentation for any purpose, provided that the | 8 * software and its documentation for any purpose, provided that the |
9 * above copyright notice and the following two paragraphs appear in | 9 * above copyright notice and the following two paragraphs appear in |
10 * all copies of this software. | 10 * all copies of this software. |
(...skipping 11 matching lines...) Expand all Loading... |
22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
23 * | 23 * |
24 * Red Hat Author(s): Behdad Esfahbod | 24 * Red Hat Author(s): Behdad Esfahbod |
25 */ | 25 */ |
26 | 26 |
27 #ifndef HB_FT_H | 27 #ifndef HB_FT_H |
28 #define HB_FT_H | 28 #define HB_FT_H |
29 | 29 |
30 #include "hb.h" | 30 #include "hb.h" |
31 | 31 |
32 #include "hb-font.h" | |
33 | |
34 #include <ft2build.h> | 32 #include <ft2build.h> |
35 #include FT_FREETYPE_H | 33 #include FT_FREETYPE_H |
36 | 34 |
37 HB_BEGIN_DECLS | 35 HB_BEGIN_DECLS |
38 | 36 |
39 /* Note: FreeType is not thread-safe. Hence, these functions are not either. */ | 37 /* Note: FreeType is not thread-safe. Hence, these functions are not either. */ |
40 | 38 |
41 hb_face_t * | 39 hb_face_t * |
42 hb_ft_face_create (FT_Face ft_face, | 40 hb_ft_face_create (FT_Face ft_face, |
43 hb_destroy_func_t destroy); | 41 hb_destroy_func_t destroy); |
(...skipping 11 matching lines...) Expand all Loading... |
55 void | 53 void |
56 hb_ft_font_set_funcs (hb_font_t *font); | 54 hb_ft_font_set_funcs (hb_font_t *font); |
57 | 55 |
58 FT_Face | 56 FT_Face |
59 hb_ft_font_get_face (hb_font_t *font); | 57 hb_ft_font_get_face (hb_font_t *font); |
60 | 58 |
61 | 59 |
62 HB_END_DECLS | 60 HB_END_DECLS |
63 | 61 |
64 #endif /* HB_FT_H */ | 62 #endif /* HB_FT_H */ |
OLD | NEW |