Comments (6)
OK. See that you are using effectively a whitelist of platforms that supported emoji back in early 2016. Chrome OS supports all of the Unicode 9.0 emoji in full colour now. Tested on macOS Sierra with Chrome and full colour emoji are supported (not blocked by script either). Segoe UI Symbol Black and White emoji supported on Chrome on Windows 7. Will do some testing on Windows 10 and 8.1 and will probably submit a pull request with an updated whitelist.
from simulating.
Thanks @rumpaar1! Yeah, at the time there wasn't (still isn't) a good way to consistently test whether an OS/browser had emoji, so I stuck to a whitelist. If you can send a PR with an updated whitelist that would be most excellent, thanks again!
from simulating.
Been a bit busy but I'll see if I can get around to it now.
from simulating.
I think a better approach would be to use JavaScript to render and inspect the available emoji for a correct rendering. Modernizr uses this to resolve emoji detection, and it works fairly well, although I would probably use a slight variation on their approach rather than mirroring it exactly (it has trouble with pixel width variations on high-density "retina" displays... this is just a consequence of guessing where the best pixel to pick is, rather than picking a few and inspecting them, so since display is important, we can take a little time to do this and maybe note when we last did so in localStorage to avoid repeating the task often if it turns out it is slower than an eyeblink).
from simulating.
This is a great approach! Checking whether the rendered picture is rectangular is probably sufficient, though; not all systems with Emoji support colour them in, for instance.
from simulating.
Ah, I suppose this differs mostly on creator intent then? My impression based on the messaging was that the purpose of the current system was checking for multicolored emoji support, and offering a font that guaranteed at least BW unicode emoji if not. Happy to draft an implementation either way.
from simulating.
Related Issues (10)
- Firefox Play button broken HOT 4
- Play Button Doesn't Work In Google Chrome HOT 1
- New Feature?
- The interactivity of the essay (index_old.html) is broken. HOT 1
- Feature request: Plotting population graph of entities HOT 2
- Question: DOM manipulation vs Canvas HOT 1
- Feature request: add sphere, toroid, or infinite plane modes
- Both sharing and exporting seem broken HOT 11
- GitHub redirects iFrames to http HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simulating.