While surfing I stumbled upon this . It’s a new way, no javascript, just CSS. (this is actually better because, this way custom fonts could be covered even for people that don’t have javascript enabled).
Check it out. I think it’s very good. I haven’t tried it myself yet but from what I read it’s actually cross-browser (even on mobile phones) and it’s fast. Another advantage to using this method (I think, haven’t tested actual facts) is you can use custom fonts on really long texts without your browser running slow, or loading time to be slow.
Thanks snook.ca for that.

