js-equality-game
js-equality-game copied to clipboard
Please use web fonts
There unfortunately isn't a simple fix for this on my end; I've added a note about it in the readme:
The game uses emojis; your system and browser needs to support color fonts and have an emoji font like EmojiOne installed for the emojis to display properly.
What do you mean, there isn’t a simple fix? What’s the ~~excuse~~ reason not to use @font-face? Usually, there is none. Relying on the user having a certain font is kinda strange.
I mean that there isn't a simple fix; there's no uniform browser support for color font formats, and I'd also need to make a subset font, and it's unclear if the tools for making subset fonts even support color fonts. A more realistic solution would be to use images, but I'd prefer to use emojis.
There should now be .svg image fallbacks if emojis are not supported (Ctrl+F5 is probably needed to test).
Ya, .svg emojis could be a good idea right?
.svg fallbacks are already implemented, but the detection for emoji support seems to also detect partial support, so the fallbacks aren't enabled in that case, even though it doesn't look completely right. I've posted a question on SO about it. My current idea is that maybe the detection could be applied to the specific emojis being shown.
