How to add some non-standard font to a website?

后端 未结 19 1348
时光说笑
时光说笑 2020-11-22 02:17

Is there a way to add some custom font on a website without using images, Flash or some other graphics?

For example, I was working on a wedding website, and I found

19条回答
  •  温柔的废话
    2020-11-22 02:52

    Typeface.js JavaScript Way:

    With typeface.js you can embed custom fonts in your web pages so you don't have to render text to images

    Instead of creating images or using flash just to show your site's graphic text in the font you want, you can use typeface.js and write in plain HTML and CSS, just as if your visitors had the font installed locally.

    http://typeface.neocracy.org/

提交回复
热议问题