2 ms·
I wonder how large must a font be to display all UTF8 characters... I'm also waiting for new emojis, they recently added more and more that can be used as icon
by jokoon 5y ago
I wonder how large must a font be to display all UTF8 characters...
I'm also waiting for new emojis, they recently added more and more that can be used as icons, which is simpler than integrating PNG or SVG icons.
- dspillett 5y agoTake care using recently added Unicode entries, unless you have some control of your user-base and when they update or are providing a custom font that you know has those items represented. You could be giving out broken-looking UI to many if their setup does not interpret the newly assigned codes correctly.
- banana_giraffe 5y agoOpentype makes this impossible. A glyph has an index of a UINT16, so you can't fit all of the ~143k Unicode characters. There are some attempts at font families to cover the majority of characters. Like Noto ( https://fonts.google.com/noto/fonts https://fonts.google.com/noto/fonts ), broken out into different fonts for different regions. Or, Unifont's ( http://www.unifoundry.com/ http://www.unifoundry.com/ ) goal of gathering the first 65536 code points in one font, though it leaves a lot to be desired if you actually use it as a font.