Index: third_party/harfbuzz-ng/src/hb-coretext.h |
diff --git a/third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh b/third_party/harfbuzz-ng/src/hb-coretext.h |
similarity index 72% |
rename from third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh |
rename to third_party/harfbuzz-ng/src/hb-coretext.h |
index 159456d2fd9c6b8ba0d935f47d5d899ceee6ea35..0b34203d991ffb0f90806ea78c7bc27dcaf82302 100644 |
--- a/third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-coretext.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright © 2011 Google, Inc. |
+ * Copyright © 2012 Mozilla Foundation. |
* |
* This is part of HarfBuzz, a text shaping library. |
* |
@@ -21,27 +21,23 @@ |
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO |
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
* |
- * Google Author(s): Behdad Esfahbod |
+ * Mozilla Author(s): Jonathan Kew |
*/ |
-#ifndef HB_FALLBACK_SHAPE_PRIVATE_HH |
-#define HB_FALLBACK_SHAPE_PRIVATE_HH |
+#ifndef HB_CORETEXT_H |
+#define HB_CORETEXT_H |
-#include "hb-private.hh" |
- |
-#include "hb-shape.h" |
+#include "hb.h" |
+#include <ApplicationServices/ApplicationServices.h> |
HB_BEGIN_DECLS |
-HB_INTERNAL hb_bool_t |
-_hb_fallback_shape (hb_font_t *font, |
- hb_buffer_t *buffer, |
- const hb_feature_t *features, |
- unsigned int num_features); |
+CTFontRef |
+hb_coretext_font_get_ct_font (hb_font_t *font); |
HB_END_DECLS |
-#endif /* HB_FALLBACK_SHAPE_PRIVATE_HH */ |
+#endif /* HB_CORETEXT_H */ |