How to use any font without image?

We always wanted to use custom fonts in web pages. But due to the limitation of fonts in visitors system. We were compelled to use certain fonts. But now you can generate your font files and use it in your web.

Follow the following steps to use custom fonts in your webpage.

1. Convert your font to js
Convert your font to js readable from http://cufon.shoqolate.com/generate/.

2. Download cufon.js
Download cufon.js from http://cufon.shoqolate.com

3. Embed
Embed cufon.js and your font js file to your web

4. Specify Elements to transform

Cufon.replace('h1');

5. Demo

http://www.dineshkarki.com.np/demos/fonts/

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

COMMENTS

1 Comments

  1. sat shop

    May 9th, 2011 09:39 AM

    I am really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Either way keep up the excellent quality writing, it’s rare to see a nice blog like this one nowadays..

Leave a Reply