本文介绍了如何使用CSS将自定义位图字体嵌入网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用CSS将自定义位图字体嵌入我的网站?我试过下面但是它只是回退到后备字体:
How can I embed a custom bitmap font into my website using CSS? I've tried the following but it just reverts to the fallback font:
@font-face {
font-family:'AgendaSemibold';
src: url('Agenda-Semibold.bmap') format('bitmap');
}
我试图使用通常的方式调用它:
I'm trying to call it using the usual way:
font-family: 'AgendaSemibold', Times New Roman, Sans-Serif;
字体已上传到我的网络空间,但只是还原到Times。
The font has been uploaded to my webspace but it's just reverting to Times.
推荐答案
可能需要检查来了解字体和字体。您可以从生成
may be you have to check this link for understand about font face & you can generate from here
这篇关于如何使用CSS将自定义位图字体嵌入网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!