3 ms·
Question: how do you specify in CSS that you want font X, except if a specific glyph is not present, then you want font Y?
by amelius 8y ago
Question: how do you specify in CSS that you want font X, except if a specific glyph is not present, then you want font Y?
- woodrowbarlow 8y agowhen you specify your font-stack, like: font-family: Helvetica, Arial, Sans-Serif; it will fall through. so if a user has Helvetica installed, but Helvetica doesn't provide glyph X, then it will check whether Arial has glyph X. so if you want all non-ascii glyphs to fall through to an alternative font, you need to serve a version of your primary font that only includes ascii.
- amelius 8y agoOk, I wasn't aware that stacking fonts works at the glyph level.