Emoji support - Not all emojis work
montovaneli opened this issue · comments
montovaneli commented
Checklist
- I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
- This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
Not all emojis work. For example, 🔴 works, but 🟢 does not. I haven't tested it in other environments, only on Windows 11. Also, I haven't made any font modifications.
How to reproduce
Using a simple hello world, for example.
Screenshots
Example code
package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)
func main() {
myApp := app.New()
myWindow := myApp.NewWindow("Hello")
myWindow.SetContent(widget.NewLabel("🔴🟢Hello World"))
myWindow.ShowAndRun()
}
Fyne version
2.4.4
Go compiler version
1.22.1
Operating system and version
Windows 11
Additional Information
No response
Andy Williams commented
The font bundled currently only supports up to the Unicode emoji standard version 9.
In the next major release of Fyne it will fall back to system fonts so the missing ones, if found on your system, should start to appear.
Alternatively you can bundle a different emoji font with a custom theme.