Open papandreou opened 1 year ago
I have had this problem with every WebAssembly project I've worked on. It does look like Emscripten has a way of exposing C++ enums and constants to JS, which could be used now that this project uses Emscripten.
HarfBuzz is ABI and API stable, these values don't change across releases, even major ones.
Okay, that makes me feel slightly less worried about hardcoding them. Still, I think it would be worth it to expose them as a pure DX/discoverability thing?
Sure, if someone wants to do it.
Hi,
It feels a bit dirty to hardcode constants like this, especially if they're subject to change in new major versions:
Is there any way those somehow be included with harfbuzzjs?