Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-coretext.h

Issue 396393005: Roll HarfBuzz to 0.9.32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for include order presubmit issue Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-common.cc ('k') | third_party/harfbuzz-ng/src/hb-coretext.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23 * 23 *
24 * Mozilla Author(s): Jonathan Kew 24 * Mozilla Author(s): Jonathan Kew
25 */ 25 */
26 26
27 #ifndef HB_CORETEXT_H 27 #ifndef HB_CORETEXT_H
28 #define HB_CORETEXT_H 28 #define HB_CORETEXT_H
29 29
30 #include "hb.h" 30 #include "hb.h"
31 31
32 #include <ApplicationServices/ApplicationServices.h> 32 #include <TargetConditionals.h>
33 #if TARGET_OS_IPHONE
34 # include <CoreText/CoreText.h>
35 # include <CoreGraphics/CoreGraphics.h>
36 #else
37 # include <ApplicationServices/ApplicationServices.h>
38 #endif
33 39
34 HB_BEGIN_DECLS 40 HB_BEGIN_DECLS
35 41
36 42
37 #define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t') 43 #define HB_CORETEXT_TAG_MORT HB_TAG('m','o','r','t')
38 #define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x') 44 #define HB_CORETEXT_TAG_MORX HB_TAG('m','o','r','x')
39 45
40 46
41 hb_face_t * 47 hb_face_t *
42 hb_coretext_face_create (CGFontRef cg_font); 48 hb_coretext_face_create (CGFontRef cg_font);
43 49
44 50
45 CGFontRef 51 CGFontRef
46 hb_coretext_face_get_cg_font (hb_face_t *face); 52 hb_coretext_face_get_cg_font (hb_face_t *face);
47 53
48 CTFontRef 54 CTFontRef
49 hb_coretext_font_get_ct_font (hb_font_t *font); 55 hb_coretext_font_get_ct_font (hb_font_t *font);
50 56
51 57
52 HB_END_DECLS 58 HB_END_DECLS
53 59
54 #endif /* HB_CORETEXT_H */ 60 #endif /* HB_CORETEXT_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-common.cc ('k') | third_party/harfbuzz-ng/src/hb-coretext.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698