-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Performance issue #25
Comments
You are probably using the JS fallback. Setting up your env to run the native add-on will certainly speed up the build. Feel free to suggest Emscripten configuration improvement if you think the JS fallback may be built better. |
Hello, guys. We are using ttf to woff2 inside Electron application (mac os platform) and also having the performance issues. You've mentioned that JS fallback can be the reason. If so, can you give us advice, what can be done to avoid getting to this fallback. Some library or Electron environment settings maybe? Any thoughts or suggestions? Because being run as CLI tool ttf2woff2 gives us outstanding conversion speed, which we are missing inside Electron app. |
I don't have any experience in Electron apps building atm but you may looks at this module setup. See https://github.com/nfroidure/ttf2woff2/blob/master/binding.gyp for example and adapt it to your own build. |
Converting ttf to woff2 takes 30~45 seconds. Is there something planned to avoid this performance issue?
The text was updated successfully, but these errors were encountered: