You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Godot 3.5, there's a Brotli decompression library compiled so that Godot can read WOFF2 fonts, but the compression library isn't compiled IIRC.
That said, I think Zstandard has superseded Brotli for all intents and purposes. Zstandard can be tuned to be both faster and have a better compression ratio compared to Brotli. Really, it's that good 🙂
Zstandard also receives regular backwards-compatible updates that keep on improving its performance, while Brotli hasn't received a significant update in a long time.
The reason the web platform is still using Brotli is that it's slightly older (and it was developed by Google instead of Meta).
Describe the project you are working on
Playing around with data manipulation for my game.
Describe the problem or limitation you are having in your project
Limited only to FastLZ, DEFLATE, Zstd and GZip, it would be cool if we have more compression options.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add brotli as an option to File compression modes and maybe ENetConnection compression modes.
In fact, the brotli library is already present in Godot's source code (it was added as a dependency for WOFF2 support).
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
The user would be able to use File.COMPRESSION_BROTLI as a compression mode.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No
Is there a reason why this should be core and not an add-on in the asset library?
Part of it is already in the source, it just needs to be coded in.
The text was updated successfully, but these errors were encountered: