3 ms·
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 runnin
by fuglede_ 2y ago
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.
- tcsenpai 2y agoThat 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
- fuglede_ 2y agoAnother font connoisseur put together a script here that might be helpful: https://github.com/hsfzxjy/Harfbuzz-WASM-Fantasy/blob/master/scripts/build_harfbuzz.sh https://github.com/hsfzxjy/Harfbuzz-WASM-Fantasy/blob/master...
- tcsenpai 2y agoManaged to build it using "-DWAMR_BUILD_REF_TYPES=1" And it works! Now is time to dive deep :)