Index: third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-language.h b/third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh |
similarity index 70% |
copy from third_party/harfbuzz-ng/src/hb-language.h |
copy to third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh |
index d3c91fb429a78c60657e265d782f31d102ea9e89..d0beb16dec680c23dcc51aef983bcff398555aa6 100644 |
--- a/third_party/harfbuzz-ng/src/hb-language.h |
+++ b/third_party/harfbuzz-ng/src/hb-fallback-shape-private.hh |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2009 Red Hat, Inc. |
+ * Copyright © 2011 Google, Inc. |
* |
* This is part of HarfBuzz, a text shaping library. |
* |
@@ -21,26 +21,28 @@ |
* 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 |
+ * Google Author(s): Behdad Esfahbod |
*/ |
-#ifndef HB_LANGUAGE_H |
-#define HB_LANGUAGE_H |
+#ifndef HB_FALLBACK_SHAPE_PRIVATE_HH |
+#define HB_FALLBACK_SHAPE_PRIVATE_HH |
-#include "hb-common.h" |
+#include "hb-private.hh" |
-HB_BEGIN_DECLS |
+#include "hb-shape.h" |
-typedef const void *hb_language_t; |
+HB_BEGIN_DECLS |
-hb_language_t |
-hb_language_from_string (const char *str); |
-const char * |
-hb_language_to_string (hb_language_t language); |
+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, |
+ const char * const *shaper_options); |
HB_END_DECLS |
-#endif /* HB_LANGUAGE_H */ |
+#endif /* HB_FALLBACK_SHAPE_PRIVATE_HH */ |