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

Unified Diff: third_party/harfbuzz-ng/src/indic.cc

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
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-warning.cc ('k') | third_party/harfbuzz-ng/src/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/src/indic.cc
diff --git a/third_party/harfbuzz-ng/src/indic.cc b/third_party/harfbuzz-ng/src/indic.cc
index 3b440761e5e2beb205a94172f558d726e0243b26..991a7723bd716ec3e3c97ca152bbae3341439287 100644
--- a/third_party/harfbuzz-ng/src/indic.cc
+++ b/third_party/harfbuzz-ng/src/indic.cc
@@ -39,8 +39,13 @@ main (void)
unsigned int category = type & 0x0F;
unsigned int position = type >> 4;
- hb_codepoint_t a, b;
- if (!hb_unicode_decompose (funcs, u, &a, &b))
- printf ("U+%04X %x %x\n", u, category, position);
+ hb_unicode_general_category_t cat = hb_unicode_general_category (funcs, u);
+ unsigned int ccc = hb_unicode_combining_class (funcs, u);
+ if (category == OT_M && ccc)
+ printf ("U+%04X %d\n", u, ccc);
+
+// hb_codepoint_t a, b;
+// if (!hb_unicode_decompose (funcs, u, &a, &b))
+// printf ("U+%04X %x %x\n", u, category, position);
}
}
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-warning.cc ('k') | third_party/harfbuzz-ng/src/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698