Skip to content
Jim Chen edited this page Jul 10, 2014 · 1 revision

Fonts 字体

A good font prevents many problems. Unfortunately, many up-ers will use a multitude of Chinese fonts, and sometimes use their Chinese font names (which many systems don't accept/can't recognize).

好的字体可以避免很多问题。不幸的是,许多UP主会使用各种各样的中文字体,并且经常使用中文字体名称,而这却不被很多系统认识或支持。

fontalias.css

fontalias.css is a small sample of getting fonts in Chinese to work with systems that don't support it by setting up an alias name to an existing font on system.

字体CSS是一个为UP主常用字体提供中文别名的CSS文件。这可以极大的帮助*nix不识别中文字体的浏览器。

Embedded Fonts 嵌入字体

You are also free to use embedded fonts with hosted font files. Although many used fonts (like SimHei) are non-free. Just modify the font alias css to add new sources online after the default one to check systems.

你也可以在CSS里面使用嵌字体。当然了很多字体其实都并非开源字体,所以一定要考虑自己host字体可能的后果。你只要更高 fontalias.css来包括来自网络的字体资源。

Clone this wiki locally