Embed Custom Font In You Webpage >> typeface.js

Posted by: FitR on March 26th, 2009 (942 views | No Comments) 1276

Stop Rendering 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. This is a work in progress, but functional enough at least to render the the graphic text on this site.

typeface.js

Supported browsers include Firefox 1.5+, Safari 2+, and Internet Explorer 6+. Things will degrade gracefully for other browsers. Users browsing with their PDA’s, for example, will still see your text there–it just won’t be quite as pretty. Search engines will see your graphic text now too, without having to rely on OCR or “alt” properties.

The CSS2 specification includes directives for defining many aspects of text layout, but browsers’ implementations have been spotty. This library aims to fill in the gaps. Notably, there’s support for the ‘font-stretch’ property as well as finer-grained control with ‘letter-spacing’ and others.

Website: typeface.js
Download: Get it now!

Now What?

You might be interested in these related posts.

Help us spread the word across!

Sponsored by
About the Author

Fish in the River delivers a fresh inspiration source for designers, developers and marketers but also anyone who wants to be inspired everyday.

Visit FitR's Homepage       Visit FitR on Twitter

Comments No Comments

Leave a Comment
Would you like to be the first to leave a comment?
Please feel free to let us know what you think.

Leave Comment Leave a Comment

Want a Personal Avatar? Visit www.gravatar.com to get your own gravatar, a globally-recognized avatar.
Submit a Comment
Even a clock that does not work is right twice a day.
{ Polish Proverb }