-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
SVG font loading fails, and can cause a crash in thorvg #67260
Comments
Seems like new versions of NotoColorEmoji are using SVG format which is not supported, old bitmap (PNG) versions will work. |
Thanks! How do you to check whether a font is using the SVG format or the bitmap format? I'm unable to find an old version of NotoColorEmoji since the file on Github seems to have no commit history except for the last commit. Is an old bitmap (PNG) version of that font still online somewhere? When testing with this file, emojis do appear, but the wrong ones. See screenshot. The emojis should be these: 😀 😃 😄. Not sure what that "CompatTest" font is for, though. Should I rename this issue to "No warning if SVG font loading fails" or something like that? |
@bruvzg : Maybe this info is useful for you. We tested several different versions of the Google Noto Color Emoji font, and these are the results. Some versions of the font fail to display, without a warning. Results with Godot 3.5 and 4.0 beta 2 are identical.
|
In Godot 4.0-rc1 it looks like the font downloaded from https://fonts.google.com/noto/specimen/Noto+Color+Emoji renders incorrectly in the editor and causes a crash when running the project:
Using the fonts |
Seems to be rendering correctly, and does not crash with the current master. Probably fixed by #75675 and ThorVG updates. |
Godot version
4.0.beta2.mono
System information
Windows 11
Issue description
A text label that is set to the font "NotoColorEmoji-Regular.ttf" does not show emojis or text.
Steps to reproduce
See screenshot.
Minimal reproduction project
Emoji-Test.zip
The text was updated successfully, but these errors were encountered: