Behdad Esfahbod
d894a10699
[wasm-shape] Debug message
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
91eb2f49db
[wasm-api-buffer] Minor variable
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
4260de12c1
[wasm] Add HB_ARRAY_APP2NATIVE
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
1537e252ba
[wasm] Minor blob validation
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
918df8ccaf
[wasm-api] Add glyph_outline_free
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
7fff4a19ad
[wasm-api] Reuse allocation in font_copy_glyph_outline
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
41362cc339
[wasm] Simplify memory cleaning
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
6746ca4ae2
[wasm] Minor remove undefine function
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
b08026187a
[wasm-api] Memory house-keeping
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
f2d227ad9f
[wasm-api] Respect existing blob allocation in face_copy_blob
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
e7540043de
[wasm-api] Make buffer_copy_contents reuse contents
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
65966e0c3d
[wasm-api] Add font_copy_glyph_outline
2023-03-31 17:33:45 -06:00
Simon Cozens
92a57b4b4a
[wasm-rust] update font_copy_table API
2023-03-31 17:33:45 -06:00
Simon Cozens
db789eacb4
[wasm-rust] Docs and API update
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
0d237d062e
[wasm-shape] No need to set default runnint mode
...
It's detected automatically apparently.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
2004528cf8
[wasm-api] Change face_copy_table to return success
2023-03-31 17:33:45 -06:00
Simon Cozens
83b9c34f0b
[wasm] Add rust example
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
28a7c1f932
[wasm-api] Rename face_reference_table to face_copy_table
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
b5b577f29f
[wasm-api] Make buffer_copy_contents return success
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
1023a80d39
[wasm] Fix up samples
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
4ad659a608
[wasm] Move wasm-graphite
2023-03-31 17:33:45 -06:00
Simon Cozens
514a8d58d8
[wasm-api] Add ergonomic Rust interface
2023-03-31 17:33:45 -06:00
Simon Cozens
74deaa9e78
[wasm-api] Restructure samples/libraries
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
4bdfaeecef
[wasm-shape] Set glyph flags
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
77f0f3c11a
[wasm-api] Make buffer_copy_contents return zero length on mem fail
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
16ecb96922
[wasm-api] Return success from buffer_contents_realloc
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
2568890d15
[wasm-shape] Retry shaping if out-of-memory
2023-03-31 17:33:45 -06:00
Behdad Esfahbod
cb382e489d
[wasm-shape] Cache wasm-shape-plan
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
73de7d4d05
[wasm-api] Add shape_plan
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
a267249930
[wasm] Typo
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
99d2dab30f
[wasm] Try at autotools build
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
c5af08c0dc
[wasm] Add to harfbuzz.cc and hb-features
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
aa8f9eed63
[wasm-shape] Use JIT running-modes if available
...
Build wasm-micro-runtime with:
$ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_FAST_JIT=1
or:
$ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_JIT=1
The latter needs llvm and is harder to get working. Still trying.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
8d960dfe68
[wasm-sample] Remove Wasm table from test.ttf again
...
Was added by mistake.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
1c6d640e1f
[wasm-shaper] Whitespace
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
9f8ad3928a
[wasm-api] Bind shaper features
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
2327fe9d8a
[hb-wasm] Remove TODO
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
b130b2b331
[graphite] Simplify direction handling
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
ec3270c7bb
[wasm-graphite] Ensure native direction here too
...
Binds buffer_get_script and script_get_horizontal_direction.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
cbc71c56bc
[graphite] Ensure native direction
...
Mirrored characters come out wrong. Oh well. Better than before though.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
39f8703df1
[wasm-api] Match interface and implementation signatures
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
fea3ffe031
[wasm-api] Beautify internal API
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
fe557e2f21
[wasm-api] Bind font_get_glyph_extents
...
Untested.
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
b3b6e8da86
[wasm-api] Bind buffer_reverse
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
863ec70e12
[wasm-shape] Add TODO items
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
1acff90b03
[wasm-api] Bind font_glyph_to_string
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
7537d48f08
[wasm] Remove a few lingering hb_
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
d7f76f30b0
[wasm-graphite] Memory cleanup
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
5738851b1c
[wasm-api] Disallow "wasm" shaper in shape_with
2023-03-31 17:33:44 -06:00
Behdad Esfahbod
2bde2f66f1
[wasm-api] Bind shape_with
2023-03-31 17:33:44 -06:00