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/

  1. 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 Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>