且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何让我的用户自动下载我用于我的网站的字体,如果他们没有它?

更新时间:2023-12-02 15:27:28

可以使用@ font-face生成器。它允许您上传您的字体,它会创建一个漂亮的.zip下载与CSS和所有相关的文件,你需要让你的自定义字体为您的网站工作。

You can use the @font-face generator. It allows you to upload your fonts and it will create a nifty .zip download with CSS and all the related files you need to get your custom font working for your site.

http://www.fontsquirrel.com/fontface/generator

他们还有许多可以在您的网站上使用的授权字体套件:

They also have a whole lot of licensed font-kits ready for use on your site too:

http://www.fontsquirrel.com/fontface

另一个很棒的网站允许您许可许可字体为TypeKit。

Another great site that allows you to "lease" licensed fonts is TypeKit.

http:/ /typekit.com/