emscripten-core / emscripten-core/emscripten

Thoughts on specify freetype lib's version when use `-sUSE_FREETYPE`

Open
#17,093 7 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.