Skip to content
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

Missing character on results screen #102

Open
mstem opened this issue Nov 25, 2019 · 3 comments
Open

Missing character on results screen #102

mstem opened this issue Nov 25, 2019 · 3 comments

Comments

@mstem
Copy link
Contributor

mstem commented Nov 25, 2019

On a Pixel 3 / Android 10 with Chrome, the results screen at http://emojicompass.com/ displays a missing character square instead of the tildes between lines

@mstem
Copy link
Contributor Author

mstem commented Nov 25, 2019

Screenshot_20191124-154309

@mstem
Copy link
Contributor Author

mstem commented Nov 25, 2019

Confirmed it's not happening on desktop Chrome w/ Windows 10

@louh
Copy link
Member

louh commented Apr 25, 2020

That character is not actually a tilde but the `U+2053 SWUNG DASH character. It appears that it's not supported by Gentium Book Basic, which is a very limited subset of the most common characters. Neither the swung dash nor the more common tilde is in their chart of glyphs.

I'm not certain why this character displayed properly on every other system but this one. Perhaps other browsers or devices use the fallback serif font for missing characters automatically (this is not behavior I'm aware of, but it's certainly possible).

However, Gentium Plus is still open source and licensed the same as the Basic version. It's likely we can swap out the original font for the plus version of the files for the desired look. The plus version of this font is much larger file, but the additional loading time might not be a problem if we're bundling for apps or PWAs. Alternatively, with a little more effort, we can decide to subset the Plus font so that it's basically just the Basic set plus the swung dash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants