How to embed a custom bitmap font into website using CSS

做~自己de王妃 提交于 2019-12-10 18:14:55

问题


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;

The font has been uploaded to my webspace but it's just reverting to Times.

来源:https://stackoverflow.com/questions/5354935/how-to-embed-a-custom-bitmap-font-into-website-using-css

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!