Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed experimental wasm shaper. #117

Closed
asibahi opened this issue Jun 26, 2024 · 1 comment
Closed

Embed experimental wasm shaper. #117

asibahi opened this issue Jun 26, 2024 · 1 comment

Comments

@asibahi
Copy link
Contributor

asibahi commented Jun 26, 2024

Hello.

First of all congratulations on reaching the 8.0.0 milestone. Truly impressive work by @LaurenzV. There is an issue on harfbuzz to bump version to 9 :)

I am wondering if it would be within the scope of this project to include API and parsing for the experimental wasm shaper in harfbuzz. As far as I can tell, it is "just" an extra font table and some C API. The wasm modules are embedded in the font itself.

Here is the design document, with some fairly interesting examples: https://github.com/harfbuzz/harfbuzz/blob/main/docs/wasm-shaper.md
This is an insane project built on the shaper: https://github.com/fuglede/llama.ttf

This would allow more people (font designers for example) to experiment with the feature without the massive gate of requiring knowledge on how to build harfbuzz, since its not enabled by default and the only program that comes with it enabled is (an experimental version of) FontGoogles.

The main advantage for including this in rustybuzz as a non-default feature is that building a rust crate is infinitely simpler than building a C++ library, even I can do it!!

@RazrFalcon
Copy link
Collaborator

I have no plans on implementing any non-standard TrueType features. But if someone will send a PR - I will merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants