[wasm-api] Disallow "wasm" shaper in shape_with
This commit is contained in:
parent
2bde2f66f1
commit
5738851b1c
|
@ -40,6 +40,9 @@ shape_with (HB_WASM_EXEC_ENV
|
|||
HB_REF2OBJ (font);
|
||||
HB_REF2OBJ (buffer);
|
||||
|
||||
if (0 == strcmp (shaper, "wasm"))
|
||||
return false;
|
||||
|
||||
const char * shaper_list[] = {shaper, nullptr};
|
||||
return hb_shape_full (font, buffer, nullptr, 0, shaper_list);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue