您没有的字体. [英] Fonts you don't have.

查看:120
本文介绍了您没有的字体.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望以特定字体显示网页.

但是,大多数人不会使用这种字体,因此,如果需要一个更好的词,可以将这种字体强加".

我认为可能有必要将字体放在服务器上,并从页面中以某种方式指向它,也许是一些Jscript?

有什么想法吗?

I wish to present a web page in a specific font.

However, most people will not have this font, so is it possible to, for the want of a better word, ''Impose'' this font.

I am thinking it may be necessary to put the font on the server and somehow point to it from within the page, perhaps some Jscript?

Any ideas?

推荐答案

有几种方法可以做到这一点.第一种方法(以及推荐的方法)是使用字体后备并很好地降级.第二种方法是使用Flash显示字体(网络上有一些示例).第三种方法是使用从样式表引用的嵌入式字体. 此处有一个示例. [
There are a few ways to do this. The first way (and the way that''s recommended) is to use font fallbacks and degrade nicely. The second way is to use Flash to display the font (there are a few examples of this on the web). The third way is to use an embedded font referenced from a stylesheet. There''s an example on how to do this here[^].


让我为您找到Google [^ ].

接吻,戴夫,开玩笑...
Let Me Google That For You [^].

kidding, Dave, kidding...


这篇关于您没有的字体.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆