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

Integrate with https://github.com/mapbox/tiny-sdf to use system fonts rather than download .ttf via XHR #50

Open
morandd opened this issue Sep 23, 2022 · 0 comments

Comments

@morandd
Copy link

morandd commented Sep 23, 2022

This library and troika-three-text seem to both require .TTF files as a starting point. Global unicode coverage via .ttf/.woff fonts quickly runs into multiple MB of data download (e.g. the Google Noto font for Japanese is 6.2mb alone). To avoid requiring possibly large XHR font downloads for world languages, could this library be integrated with:
https://github.com/mapbox/tiny-sdf

That Mapbox contribution generates SDFs directly from system fonts.

It will be lovely when we can get sharp, beautiful global unicode text support that "just works" in THREE.js :)

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

1 participant