https://github.com/painfulexistence/msdfgen-wasm
https://github.com/painfulexistence/msdfgen-wasm
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/painfulexistence/msdfgen-wasm
- Owner: painfulexistence
- License: mit
- Created: 2023-01-23T08:43:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T17:53:48.000Z (over 2 years ago)
- Last Synced: 2025-06-01T11:46:43.978Z (4 months ago)
- Language: C++
- Size: 501 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Clone the repository
```
git clone https://github.com/painfulexistence/msdfgen-wasm
cd msdfgen-wasm
```## Install dependencies
WIP## Build the WASM module
Note that CMake build does not work at this point.
```
em++ -o msdfgen-wasm.js msdfgenWasm.cpp -I ext/msdfgen/include/ -Lext/msdfgen/lib -lmsdfgen-core -lbz2 -lfreetype -lpng -lpng16 -ltinyxml2 -lz -lmsdfgen-ext -DNDEBUG -O3 -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -sEXPORTED_FUNCTIONS=_test,_generateMSDFTexture
```## License
Apart from the /ext folder, this software is licensed under the MIT license