zlacker

[parent] [thread] 3 comments
1. fugled+(OP)[view] [source] 2024-06-23 18:00:02
Yeah, sorry, that could have been clearer, I added a few more instructions. Basically, chances are that even if you've got Harfbuzz running, you're still running a version with no Wasm runtime. If so, chances are you can get away with building it with Wasm support, then add the built library to LD_PRELOAD before running the editor.
replies(1): >>tcsenp+B5
2. tcsenp+B5[view] [source] 2024-06-23 18:47:30
>>fugled+(OP)
That was useful. I have indeed compiled and installed wasm-micro and now meson build it successfully. Tho "meson compile -C build" returns an error about not finding "hb-wasm-api-list.hh". Do you have any experience of that?

EDIT: Nevermind. Using the exact commits you linked give another error (undefined reference to wasm_externref_ref2obj). I give up

replies(1): >>fugled+wb
◧◩
3. fugled+wb[view] [source] [discussion] 2024-06-23 19:35:52
>>tcsenp+B5
Another font connoisseur put together a script here that might be helpful: https://github.com/hsfzxjy/Harfbuzz-WASM-Fantasy/blob/master...
replies(1): >>tcsenp+xj
◧◩◪
4. tcsenp+xj[view] [source] [discussion] 2024-06-23 20:48:50
>>fugled+wb
Managed to build it using "-DWAMR_BUILD_REF_TYPES=1" And it works! Now is time to dive deep :)
[go to top]