March 31, 2015 at 11:15 am #199361
Would it be possible to highlight characters that are missing in the current font and automatically get substituted by the browser?March 31, 2015 at 11:43 am #199363
Interesting..not sure how but it sounds useful.April 1, 2015 at 5:38 pm #199491
Well, is it possible to detect what font is actually used in rendering?April 2, 2015 at 3:35 am #199506
Well, is it possible to detect what font is actually used in rendering?
You set the fonts…shouldn’t you know?April 2, 2015 at 1:21 pm #199611
I don’t understand…why would you need to detect fallback fonts?
If the current font doesn’t have a character it doesn’t fallback on the next one to try and find it.
Fallback fonts are only there in case your primary font fails completely at least AFAIK.April 2, 2015 at 5:15 pm #199619
No, actually if there are any missing exotic characters in the current font the browser will replace them with the same characters from another font that has them. You can even see which font is used in the browser’s Inspector. Those are the instances that I’d like to be able to highlight.May 29, 2015 at 9:10 am #202980
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.
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.March 2, 2018 at 11:51 am #267690
Many Google Fonts do not have glyphs for accented characters. They fall back to some standard font and you often have to look really closely to see whether “é” with an accent looks out of place compared to the “e” without an accent.March 2, 2018 at 11:58 am #267691
Worse, I actually typed an e-acute in that comment. Chrome DevTools shows the e with the accent, but the font just shows an “e”.
You must be logged in to reply to this topic.