[wasm-shaper] Whitespace

This commit is contained in:
Behdad Esfahbod 2023-02-24 15:01:36 -07:00
parent 9f8ad3928a
commit 1c6d640e1f
2 changed files with 4 additions and 7 deletions

View File

@ -73,7 +73,6 @@ init_wasm ()
return false;
}
initialized = true;
return true;
}
@ -101,7 +100,6 @@ _hb_wasm_shaper_face_data_create (hb_face_t *face)
goto fail;
}
data = (hb_wasm_face_data_t *) hb_calloc (1, sizeof (hb_wasm_face_data_t));
if (unlikely (!data))
goto fail;
@ -211,10 +209,9 @@ _hb_wasm_shape (hb_shape_plan_t *shape_plan,
arguments[3].kind = WASM_I32;
arguments[3].of.i32 = num_features;
ret = wasm_runtime_call_wasm_a (exec_env, shape_func,
ARRAY_LENGTH (results), results,
ARRAY_LENGTH (arguments), arguments);
ret = wasm_runtime_call_wasm_a (exec_env, shape_func,
ARRAY_LENGTH (results), results,
ARRAY_LENGTH (arguments), arguments);
wasm_runtime_module_free (module_inst, arguments[2].of.i32);

View File

@ -1,4 +1,4 @@
all: CharisSIL-R.wasm.ttf Scheherazade-R.wasm.ttf
all: CharisSIL-R.wasm.ttf Scheherazade-R.wasm.ttf AwamiNastaliq-Regular.wasm.ttf
%.wasm: %.cc ../hb-wasm-api.h
emcc \