Index: third_party/harfbuzz-ng/src/hb-graphite2.h |
diff --git a/third_party/harfbuzz-ng/src/hb-graphite.h b/third_party/harfbuzz-ng/src/hb-graphite2.h |
similarity index 75% |
rename from third_party/harfbuzz-ng/src/hb-graphite.h |
rename to third_party/harfbuzz-ng/src/hb-graphite2.h |
index b5d1176ea5442dd6b7634fafc13c21eb2c70e75e..68bd019505921c235ec4fa036c942b583e0d8a58 100644 |
--- a/third_party/harfbuzz-ng/src/hb-graphite.h |
+++ b/third_party/harfbuzz-ng/src/hb-graphite2.h |
@@ -1,6 +1,6 @@ |
/* |
- * Copyright (C) 2009, Martin Hosken |
- * Copyright (C) 2009, SIL International |
+ * Copyright (C) 2011 Martin Hosken |
+ * Copyright (C) 2011 SIL International |
* |
* This is part of HarfBuzz, a text shaping library. |
* |
@@ -21,13 +21,12 @@ |
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO |
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
- * |
- * Red Hat Author(s): Behdad Esfahbod |
*/ |
-#ifndef HB_GRAPHITE_H |
-#define HB_GRAPHITE_H |
+#ifndef HB_GRAPHITE2_H |
+#define HB_GRAPHITE2_H |
+#include "hb-common.h" |
#include "hb-shape.h" |
HB_BEGIN_DECLS |
@@ -35,13 +34,13 @@ HB_BEGIN_DECLS |
#define HB_GRAPHITE_TAG_Silf HB_TAG('S','i','l','f') |
-void hb_graphite_shape (hb_font_t *font, |
- hb_face_t *face, |
- hb_buffer_t *buffer, |
- hb_feature_t *features, |
- unsigned int num_features); |
- |
+hb_bool_t |
+hb_graphite_shape (hb_font_t *font, |
+ hb_buffer_t *buffer, |
+ const hb_feature_t *features, |
+ unsigned int num_features, |
+ const char * const *shaper_options); |
HB_END_DECLS |
-#endif /* HB_GRAPHITE_H */ |
+#endif /* HB_GRAPHITE2_H */ |