4 ms·
Some random characters didn't render in my browser. Upon inspection: font-family: Georgia, Serif; I don't think those fonts support all of Unicode. Google cre
by troymc 4y ago
Some random characters didn't render in my browser. Upon inspection:
font-family: Georgia, Serif;
I don't think those fonts support all of Unicode. Google created their Noto fonts [1] for this purpose; I wonder why those aren't being used.
[1] https://en.wikipedia.org/wiki/Noto_fonts https://en.wikipedia.org/wiki/Noto_fonts
- mistrial9 4y agogentium is a font with a very large number of glyphs also https://software.sil.org/gentium/ https://software.sil.org/gentium/
- jfk13 4y agoBut only for Latin/Greek/Cyrillic scripts; it makes no claim to be a pan-Unicode font (family).
- mistrial9 4y agook I did review the Gentium characters after this.. Gentium is an odd set of every dot, egrave, umlaut and circumflex, in many, many variations. You are right that Gentium does not make an effort to represent unicode code pages. Instead, it seems that the designers know about very old and odd language systems of Eastern and Central Europe, and have reproduced those.
- jfk13 4y agoBrowsers will generally do "fallback" to some other font, if the font(s) named in the CSS don't support the characters present in the text. But for some of the rarer characters, you may not have any available font that supports them.
- Someone 4y agoSee https://en.wikipedia.org/wiki/Fallback_font https://en.wikipedia.org/wiki/Fallback_font. It typically isn’t a browser feature, but an OS one. Since 1998 MacOS has a “last resort” font that has glyphs (not necessarily unique) for every Unicode code point. They donated it to Unicode (https://en.wikipedia.org/wiki/Fallback_font#Unicode_Last_Resort_font https://en.wikipedia.org/wiki/Fallback_font#Unicode_Last_Res...), so I expect most OSes running full-blown modern browsers to have it or something similar (those running smaller browser engines may be too space constrained to have room for it)
- abudabi123 4y agohttp://www.chinaknowledge.de/Literature/Science/shuowenjiezi.html I have the noto fonts and ctext dot org's hana fonts but still see tofu in the above page. Whatever font is used on the iPhone's Pleco app the correctness depends on context where you are in the app. These two examples often are confused: 日曰
- mcswell 4y agoNo single font supports all of Unicode, that would be highly cumbersome. The "Noto fonts" is really a family of a hundred or so fonts, each of which supports a separate part of Unicode (not necessarily a block). I believe there are semi-exceptions to what I said, although you wouldn't want to use such a font for practical purposes. These exceptions are fonts that display the Unicode code point in a box, so they would display the ASCII 'A' as a box containing "0065" (I forget whether they use hex or decimal, or maybe there are both). I suspect these fonts create their glyphs on the fly.