如何让我的用户自动下载我用于我的网站的字体,如果他们没有它? [英] How can I make my users automatically download the font I use for my website if they don't have it?
问题描述
我的网站使用字体 ff-clifford-eighteen-web-pro-1
。我想使用该字体显示所有我的文字,即使没有安装在他们的机器上的用户也能显示。
My website uses the font ff-clifford-eighteen-web-pro-1
. I want all my text to be displayed using that font even for the users that don't have it installed on their machine.
有可能吗?
推荐答案
可以使用@ 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.
这篇关于如何让我的用户自动下载我用于我的网站的字体,如果他们没有它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!