src/hb-wasm-api.cc

Branch


Log

Author Commit Date CI Message
Behdad Esfahbod c5af08c0 2023-02-24T15:57:10 [wasm] Add to harfbuzz.cc and hb-features
Behdad Esfahbod ec3270c7 2023-02-24T13:31:10 [wasm-graphite] Ensure native direction here too Binds buffer_get_script and script_get_horizontal_direction.
Behdad Esfahbod 2bde2f66 2023-02-24T11:03:13 [wasm-api] Bind shape_with
Behdad Esfahbod cbd5c554 2023-02-23T14:54:46 [wasm-api] Add blob_free
Behdad Esfahbod 5cecfe86 2023-02-23T13:58:40 [wasm-api] Bind buffer_copy_contents
Behdad Esfahbod e87b1b3e 2023-02-23T12:23:52 [wasm-api] Try to add face_reference_table
Behdad Esfahbod 747dcf56 2023-02-23T11:53:08 [wasm] Strong typing for object references Such that wasm cannot crash us by passing wrong object refs. https://github.com/bytecodealliance/wasm-micro-runtime/discussions/1987 It still is unsafe if some code in the process other than HarfBuzz registers refs with wasm-micro-runtime, since wasm_externref_ref2obj() takes no context variable and looks up refs globally :(. Maybe I fix that later by keeping a hash table of ref->obj-type instead.
Behdad Esfahbod 6b72a18c 2023-02-23T11:06:48 [wasm-api] Rename file
Behdad Esfahbod 42d121ae 2023-02-23T11:05:19 [wasm] Add hb-wasm-api.cc