Using unordinary(not web safe) font type for your ordinary website

  • Share
  • Share

introduction

Just got a brief for one of my web project, the creative team from this company would like to embed a different fonts to its website. They simply don’t want the ordinary fonts, surely we have warn them and try very hard to convince them that using other fonts may break other part of the web. Since the designer insist on using that particular font in there layout, so as a professional developer we have some tricks in our closets just in time to implement something like this. Let me introduce you to typeface.js

typeface.js is easy to use

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. Here’s what it takes to get going: load the typeface.js library and some typeface.js fonts, then proceed like normal:

<script src="typeface-0.14.js"></script>
<script src="helvetiker_regular.typeface.js"></script>

<div class="typeface-js" style="font-family: Helvetiker">
	Text here in Helvetiker font...
</div>

Creating your own set of custom fonts using typeface.js

upload_convert
The typeface.js include 3 fonts for download and use. Helvetiker, Optimer, Gentilis.
http://typeface.neocracy.org/fonts.html
To generate your own set of fonts, prepare the font that you want to covert, and upload it to the above link. After the upload it will take you to another page to select the type that require for your fonts sets, by default the whole range are select. If you want to decrease some of the file sizing, uncheck some of the unuse element.
download

Extra Information

You can take a look at the example page.
http://typeface.neocracy.org/examples.html

Download the latest js library from typeface.js
http://typeface.neocracy.org/download.html

Related Posts Plugin for WordPress, Blogger...

I hope you have enjoyed this post, be sure to subscribe to my rss feed by click the subscribe button at the top.

Good Luck!

Be Sure to Subscribe to our feed or follow us on twitter to get the latest updates/patches
End of Article, Thanks for reading.
You can leave a response, or trackback from your own site.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

3 Responses to “Using unordinary(not web safe) font type for your ordinary website

  1. Outstanding website, I genuinely found it to be informative. I’m looking forward to returning once again to find out what’s new.

  2. Respect for this post, I will add up this internet site to my rss feeds, my roommate just recounted me about this as of recent. gracias

  3. Realy excellent article. I have discovered your blog about google and will visite it regulary.

Leave a Reply