[wasm-shape] Add TODO items

This commit is contained in:
Behdad Esfahbod 2023-02-24 12:00:29 -07:00
parent 1acff90b03
commit 863ec70e12
1 changed files with 5 additions and 0 deletions

View File

@ -161,6 +161,8 @@ _hb_wasm_shape (hb_shape_plan_t *shape_plan,
const hb_wasm_face_data_t *face_data = font->face->data.wasm;
constexpr uint32_t stack_size = 8092, heap_size = 2 * 1024 * 1024;
/* TODO ensure_native_direction. */
wasm_module_inst_t module_inst = nullptr;
wasm_exec_env_t exec_env = nullptr;
wasm_function_inst_t shape_func = nullptr;
@ -215,6 +217,9 @@ _hb_wasm_shape (hb_shape_plan_t *shape_plan,
goto fail;
}
/* TODO Regularize clusters accordint to direction & cluster level,
* such that client doesn't crash with unmet expectations. */
if (!results[0].of.i32)
{
fail: