emscripten-core / emscripten-core/emscripten
Thoughts on specify freetype lib's version when use `-sUSE_FREETYPE`
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
With the port work of my legacy C++ 2d ui render engine, i noticed a subtle difference between native version and wasm version:
When set fontSize=30 and get font metrics(depends on freetype), the native version returns 31, but wasm version got 30.
The only difference lies in the different version of freetype. I wish there could be a mechanism to specify freetype lib's version when use `-sUSE_FREETYPE`...
Contributor guide
Assessment
This issue has not been assessed yet.