本文介绍了在网页上显示未安装的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了Unicode字体,我想在我的网页上使用它.我希望人们看到和阅读字体.他们可以在不安装字体的情况下做到吗?像从服务器上运行字体?

I have created a Unicode font and I would like to use it on my webpage. I want people to see and read the font. Can they do it without installing the font? Something like run the font from server?

如果我没记错的话,我已经看了很久了.

If I remember correctly, I have seen this long time back.

推荐答案

您可以使用 CSS3的@ font-face 功能.但是您必须提供必要的字体格式.

You may do this using CSS3's @font-face feature. But you have to provide the necessary font formats.

FontSquirrel的 @ font-face生成器是一个不错的网络工具,可以完成所有肮脏的工作为你.它非常易于使用,并创建了所有必需的文件,包括CSS样式表和HTML示例文件.

FontSquirrel's @font-face Generator is a nice web tool that does all the dirty work for you. It is very easy to use and creates all the necessary files, including CSS stylesheets and a HTML example file.

真正有价值的是,它包括在所有主要浏览器中显示字体所需的所有格式和技巧,这些东西不太容易弄清.

What's really valuable is that it includes all formats and hacks needed to display the font in all major browsers, something which is not so easy to get right.

这篇关于在网页上显示未安装的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 22:40
查看更多