Closed mbolis closed 3 months ago
Apparently Roboto doesn't have a glyph for "⨯" (U+2A2F), so there is nothing Ebitengine can do.
Excuse me @hajimehoshi I'm sure you are more knowledgeable than me in this regard. If Roboto doesn't have that glyph (which I'm sure is the truth), then why is a text editor like LibreOffice showing the glyph when I input it while using Roboto? Is it implementing some sort of fallback?? Then I wonder what font it is using as fallback! Thank you, and sorry for raising a nonexistent issue
If Roboto doesn't have that glyph (which I'm sure is the truth), then why is a text editor like LibreOffice showing the glyph when I input it while using Roboto? Is it implementing some sort of fallback?? Then I wonder what font it is using as fallback
Such applications likely have fallbacks and fallback fonts depends on applications.
As a record for posterity, I discovered the fallback font using the following command:
$ fc-match :charset=2a2f
DejaVuSans.ttf: "DejaVu Sans" "Regular"
Here of course 2a2f
is the Unicode codepoint for ⨯
Ebitengine Version
v2.7.5
Operating System
Go Version (
go version
)go1.22.1 linux/amd64
What steps will reproduce the problem?
Draw some Unicode runes (from the "Supplemental Mathematical Operators" block, in my case)
What is the expected result?
The
⨯
glyph gets drawn on the screenWhat happens instead?
An unrecognized symbol glyph gets drawn instead
Anything else you feel useful to add?
I tried with different fonts, and the result is always similar