emscripten-core / emscripten-core/emscripten
How to use Module.locateFile()
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
In my project , i need use the font library. so i set --preload-file simsun.ttc.
Question : when i run the demo.html in chrome, i must put the simsun.data in the root directory of the web service, Is there any other way to specify where the simsun.data is ? Module.locateFile() can get where is simsun.data ?
Contributor guide
Assessment
This issue has not been assessed yet.