Make Graphite disabled by default #4855
ebraminio
started this conversation in
Engine Core
Replies: 2 comments 2 replies
-
Binary size difference of release_debug: With graphite: 171,249,128 bytes It doesn't matter that much size wise as I used to think tbh, still. |
Beta Was this translation helpful? Give feedback.
1 reply
-
What features does Graphite provide? In other words, what do we lose by disabling Graphite at build-time? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Graphite is a supplemental font technology used inside Godot 4 text rendering stack but having it default enabled, shipping it along your builds for resource constraint environments like WebAssembly and Android apk feels a bit bloat and excessive, comparing it with other cross platform apps, it is enabled in Firefox but not in Unreal Engine and Chrome and Flutter for different considerations. It is also not available in Windows, Apple and Android default text stack.
I just want to make sure are you deliberately need it enabled by default, given low number of fonts using the technology as it shouldn't be widely in use in web as lack of support in the dominant OSes and browsers, and given font designers can use OpenType and specially AAT more or less for the same purpose so perhaps you can turn it into a default disabled dependency, before turning Godot 4 out of alpha.
Thanks!
cc: @bruvzg
Beta Was this translation helpful? Give feedback.
All reactions