Detect what Unicode glyphs exist?

2019-05-01 17:45发布

问题:

Is there a way in JavaScript/CSS/web stuff to detect whether the system has a valid glyph for a certain Unicode character?

For example, I would like to detect whether a certain character in a language shows up as a square box because the user doesn't have a font that shows those Unicode points, or if they will actually be seeing the characters.