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

Unified Diff: third_party/harfbuzz-ng/src/hb-shaper-list.hh

Issue 10915172: harfbuzz-ng roll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/harfbuzz-ng/src/hb-shaper-list.hh
diff --git a/third_party/harfbuzz-ng/src/hb-graphite2-private.hh b/third_party/harfbuzz-ng/src/hb-shaper-list.hh
similarity index 64%
rename from third_party/harfbuzz-ng/src/hb-graphite2-private.hh
rename to third_party/harfbuzz-ng/src/hb-shaper-list.hh
index 644ea7565eebe12dec456b9bc6b89850436a1b76..6c02de46d2cfa38d6f936e86dd75a58b9abe2e09 100644
--- a/third_party/harfbuzz-ng/src/hb-graphite2-private.hh
+++ b/third_party/harfbuzz-ng/src/hb-shaper-list.hh
@@ -24,19 +24,31 @@
* Google Author(s): Behdad Esfahbod
*/
-#ifndef HB_GRAPHITE2_PRIVATE_HH
-#define HB_GRAPHITE2_PRIVATE_HH
+#ifndef HB_SHAPER_LIST_HH
+#define HB_SHAPER_LIST_HH
+#endif /* HB_SHAPER_LIST_HH */ /* Dummy header guards */
-#include "hb-private.hh"
+/* v--- Add new shapers in the right place here. */
+#ifdef HAVE_GRAPHITE2
+HB_SHAPER_IMPLEMENT (graphite2)
+#endif
+#ifdef HAVE_UNISCRIBE
+HB_SHAPER_IMPLEMENT (uniscribe)
+#endif
+#ifdef HAVE_CORETEXT
+HB_SHAPER_IMPLEMENT (coretext)
+#endif
-#include "hb-graphite2.h"
+#ifdef HAVE_OT
+HB_SHAPER_IMPLEMENT (ot) /* <--- This is our main OpenType shaper. */
+#endif
+#ifdef HAVE_HB_OLD
+HB_SHAPER_IMPLEMENT (old)
+#endif
-HB_INTERNAL hb_bool_t
-_hb_graphite2_shape (hb_font_t *font,
- hb_buffer_t *buffer,
- const hb_feature_t *features,
- unsigned int num_features);
+#ifdef HAVE_ICU_LE
+HB_SHAPER_IMPLEMENT (icu_le)
+#endif
-
-#endif /* HB_GRAPHITE2_PRIVATE_HH */
+HB_SHAPER_IMPLEMENT (fallback) /* <--- This should be last. */
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-shaper-impl-private.hh ('k') | third_party/harfbuzz-ng/src/hb-shaper-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698