-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
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
The UI for the Godot editor doesn't display any text (Linux distro package with system freetype without brotli support) #64090
Comments
What Linux system do you use, and where did you get Godot from? Sounds like a distro packaging mistake (using system feeetype compiled without brotli support). |
Works for me on Linux Mint, an ubuntu based OS. |
hi I'm using Void Linux and the godot was downloaded by the distro's own package manager |
Poke @Relected who did the update for Void Linux: void-linux/void-packages#38473 You should either build against the bundled freetype (which supports brotli), or change the Void Linux freetype package to build brotli support. Closing as this is a downstream packaging issue, not something to fix in Godot. See also #62552. |
I notice I have the same issue in my Mageia package btw :) @bruvzg Sounds like brotli support in distro packaged freetype is not very common, we might need to provide a fallback, or contact all distro packagers. Let's keep this open as reference as it sounds like more distros might hit the same issue in the end. |
hello, yeah i updated the godot package, unfortunately freetype is not compiled with brotli support by the previous maintainer of the package, and the last update for freetype was about 18~ hours ago by @Duncaen which might mean that he knows whats up |
We can have two versions of the fonts in the repo. or use external tools to compress/decompress it, but I'm not sure how to detect which fonts to bundle, it's easy to do in the code, but not from the Scons. For 4.0 it's also possible to fall back to system font (if fontconfig is installed). |
update: Duncan just updated freetype with brotli support, this issue should be fixed (dont forget to update your repo after :) ) |
Struggling with this as well since 3.5, the bundled freetype Unbundling libpng and zlib while using freetype from godot throws build errors for me. |
Indeed, the bundled freetype is not wired to build with system zlib and libpng. It could in the past and that caused issues when the system libpng version doesn't match what freetype was built again (typically building against system libpng16 and then running on older Ubuntu - and up until recently the Steam runtime - with libpng12). And zlib is a core component for libpng. So the recommended option is either to build freetype with brotli support (just did so for Mageia's freetype package, also added the optional harfbuzz and librsvg support while at it), or build with builtin freetype + libpng + zlib. |
yeah it fully fixed now, this issue should be closed |
I'm keeping it open for a few days for discoverability by other distro packagers. But thanks for solving it promptly for Void Linux 👍 |
I'm a bit confused, I noticed this while compiling godot and I randomly caught the build system saying built-in fonnts are disabled because freetype is built without brotli support. I can't really make sense of it, is there a way to set system fonts without having to launch the editor? If there is no way to display text without freetype with brotli, why does the build system let you compile it in the first place? |
4.x will fall back to system fonts in this case. However, 3.x can't load system fonts as that feature wasn't implemented there (and won't be backported due to how much work it requires). |
Godot version
3.5.1
System information
Linux 5.18.16_1, Intel UHD Graphics 620
Issue description
When i open Godot, the user interface doesn't display any text. Here is an image:
Occurred after the atulization of godot 3.4 to 3.5
Steps to reproduce
error shown when running by terminal:
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: