未验证 提交 dda667f8 编写于 作者: G Gary Qian 提交者: GitHub

Roll update to harfbuzz to 2.1.0 (#6760)

上级 e8f0c08c
......@@ -138,7 +138,7 @@ deps = {
Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '32d07c55db1bb6c2ae17cba4033491a667647753',
'src/third_party/harfbuzz':
Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + 'd837034f09a957faf2814002e8ebd81da6151d1b',
Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + '02caec6c1c6ad996666788b8e920ccaec8b385e5',
# Chromium-style
#
......
......@@ -170,20 +170,10 @@ class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, Layout*> {
static const size_t kMaxEntries = 5000;
};
static unsigned int disabledDecomposeCompatibility(hb_unicode_funcs_t*,
hb_codepoint_t,
hb_codepoint_t*,
void*) {
return 0;
}
class LayoutEngine {
public:
LayoutEngine() {
unicodeFunctions = hb_unicode_funcs_create(hb_icu_get_unicode_funcs());
/* Disable the function used for compatibility decomposition */
hb_unicode_funcs_set_decompose_compatibility_func(
unicodeFunctions, disabledDecomposeCompatibility, NULL, NULL);
hbBuffer = hb_buffer_create();
hb_buffer_set_unicode_funcs(hbBuffer, unicodeFunctions);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册