4 ms·
There is a serious problem: Most Chinese fonts are HUGE, especially when you want to cover both Simplified and Traditional glyphs. For example, a CFF OTF Chines
by be5invis 12y ago
There is a serious problem: Most Chinese fonts are HUGE, especially when you want to cover both Simplified and Traditional glyphs. For example, a CFF OTF Chinese font, covering all Han characters in BMP is about 34MB large, while its TTF variant is 12 MB.
And there is still no good automatic way to generate gridfits, though there is one for LGC, and Chrome is moving to Direct2D.
- kylebrown 12y agoBut most pages in Chinese won't be showing all 10k+ glyphs on the same page. Small pages won't have very many characters at all, a few paragraphs would only be a few hundred different characters, so a minimal font file would be on the order of kilobytes. 3k+ characters covers 98% of the text in a common newspaper, that font file is on the order of a megabyte. I've used FontForge to export much smaller font files containing only particular characters. But there are also ways to store char fonts in json using libs like typeface.js and cufon.
- ttflee 12y ago> the order of a megabyte which is not acceptable for loading a web page.