提交 e7d25afc 编写于 作者: P prr

8223886: Add in font table referene

Reviewed-by: serb, psadhukhan, mschoene, rhalade
上级 5b23be60
......@@ -339,6 +339,9 @@ reference_table(hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) {
}
length = env->GetArrayLength(tableBytes);
buffer = calloc(length, sizeof(jbyte));
if (buffer == NULL) {
return NULL;
}
env->GetByteArrayRegion(tableBytes, 0, length, (jbyte*)buffer);
if (cacheIdx >= LAYOUTCACHE_ENTRIES) { // not a cacheable table
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册