Index: third_party/harfbuzz-ng/src/hb-ot-shape.h |
diff --git a/third_party/harfbuzz-ng/src/hb-ot.h b/third_party/harfbuzz-ng/src/hb-ot-shape.h |
similarity index 69% |
copy from third_party/harfbuzz-ng/src/hb-ot.h |
copy to third_party/harfbuzz-ng/src/hb-ot-shape.h |
index 80739063991cf14c4b65cc9247f751226f7f7277..afe6fe9618c1d79bd4f5b6c3ada98c71bfaa2535 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot.h |
+++ b/third_party/harfbuzz-ng/src/hb-ot-shape.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright © 2009 Red Hat, Inc. |
+ * Copyright © 2013 Red Hat, Inc. |
* |
* This is part of HarfBuzz, a text shaping library. |
* |
@@ -24,9 +24,9 @@ |
* Red Hat Author(s): Behdad Esfahbod |
*/ |
-#ifndef HB_OT_H |
-#define HB_OT_H |
-#define HB_OT_H_IN |
+#ifndef HB_OT_SHAPE_H |
+#define HB_OT_SHAPE_H |
+#define HB_OT_SHAPE_H_IN |
#include "hb.h" |
@@ -35,15 +35,20 @@ |
HB_BEGIN_DECLS |
-/* TODO remove */ |
+/* TODO port to shape-plan / set. */ |
void |
hb_ot_shape_glyphs_closure (hb_font_t *font, |
- hb_buffer_t *buffer, |
- const hb_feature_t *features, |
- unsigned int num_features, |
- hb_set_t *glyphs); |
+ hb_buffer_t *buffer, |
+ const hb_feature_t *features, |
+ unsigned int num_features, |
+ hb_set_t *glyphs); |
+ |
+void |
+hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan, |
+ hb_tag_t table_tag, |
+ hb_set_t *lookup_indexes /* OUT */); |
HB_END_DECLS |
-#undef HB_OT_H_IN |
-#endif /* HB_OT_H */ |
+#undef HB_OT_SHAPE_H_IN |
+#endif /* HB_OT_SHAPE_H */ |