Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Marking fallback characters Reply To: Marking fallback characters

#202980
duncan.mckenna
Participant

Don’t suppose there’s been any update on this? In the same boat.

The only close solution I can find is detecting if a font is installed, not detecting if a glyph is missing.
E.g. http://www.lalit.org/lab/javascript-css-font-detect/

If you want a good indication if a special character is missing visually, you can set the next fallback to serif if you’re using a fancy sans-serif font. E.g:

font-family: "totally-fancy-sans-font", serif;

The missing characters will stick out like a sore thumb.