[wasm-shaper] Whitespace
This commit is contained in:
parent
9f8ad3928a
commit
1c6d640e1f
|
@ -73,7 +73,6 @@ init_wasm ()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
initialized = true;
|
initialized = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -101,7 +100,6 @@ _hb_wasm_shaper_face_data_create (hb_face_t *face)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
data = (hb_wasm_face_data_t *) hb_calloc (1, sizeof (hb_wasm_face_data_t));
|
data = (hb_wasm_face_data_t *) hb_calloc (1, sizeof (hb_wasm_face_data_t));
|
||||||
if (unlikely (!data))
|
if (unlikely (!data))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
@ -211,10 +209,9 @@ _hb_wasm_shape (hb_shape_plan_t *shape_plan,
|
||||||
arguments[3].kind = WASM_I32;
|
arguments[3].kind = WASM_I32;
|
||||||
arguments[3].of.i32 = num_features;
|
arguments[3].of.i32 = num_features;
|
||||||
|
|
||||||
ret = wasm_runtime_call_wasm_a (exec_env, shape_func,
|
ret = wasm_runtime_call_wasm_a (exec_env, shape_func,
|
||||||
ARRAY_LENGTH (results), results,
|
ARRAY_LENGTH (results), results,
|
||||||
ARRAY_LENGTH (arguments), arguments);
|
ARRAY_LENGTH (arguments), arguments);
|
||||||
|
|
||||||
|
|
||||||
wasm_runtime_module_free (module_inst, arguments[2].of.i32);
|
wasm_runtime_module_free (module_inst, arguments[2].of.i32);
|
||||||
|
|
||||||
|
|
|
@ -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
|
%.wasm: %.cc ../hb-wasm-api.h
|
||||||
emcc \
|
emcc \
|
||||||
|
|
Loading…
Reference in New Issue