OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 2012 Mozilla Foundation. | 2 * Copyright © 2012 Mozilla Foundation. |
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 27 matching lines...) Expand all Loading... |
38 #endif | 38 #endif |
39 | 39 |
40 HB_BEGIN_DECLS | 40 HB_BEGIN_DECLS |
41 | 41 |
42 | 42 |
43 #define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t') | 43 #define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t') |
44 #define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x') | 44 #define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x') |
45 | 45 |
46 | 46 |
47 HB_EXTERN hb_face_t * | 47 HB_EXTERN hb_face_t * |
| 48 hb_coretext_face_create_from_ct_font (CTFontRef ct_font); |
| 49 |
| 50 HB_EXTERN hb_face_t * |
48 hb_coretext_face_create (CGFontRef cg_font); | 51 hb_coretext_face_create (CGFontRef cg_font); |
49 | 52 |
50 | 53 |
51 HB_EXTERN CGFontRef | 54 HB_EXTERN CGFontRef |
52 hb_coretext_face_get_cg_font (hb_face_t *face); | 55 hb_coretext_face_get_cg_font (hb_face_t *face); |
53 | 56 |
54 HB_EXTERN CTFontRef | 57 HB_EXTERN CTFontRef |
55 hb_coretext_font_get_ct_font (hb_font_t *font); | 58 hb_coretext_font_get_ct_font (hb_font_t *font); |
56 | 59 |
57 | 60 |
58 HB_END_DECLS | 61 HB_END_DECLS |
59 | 62 |
60 #endif /* HB_CORETEXT_H */ | 63 #endif /* HB_CORETEXT_H */ |
OLD | NEW |