mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
[wasm-shaper] Whitespace
This commit is contained in:
1 parent
9f8ad3928a
commit
1c6d640e1f
2 files changed
+4
-7
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user