Robin
Robin

Reputation: 10011

How to use various fonts on a website

I want to use trainway font on my website. But i am pretty sure that the user wont be having it installed in his machine.

So is there a way to display the text of a particular font without prompting the user to install that font.

Thanks in Advance

Upvotes: 1

Views: 192

Answers (4)

amosrivera
amosrivera

Reputation: 26514

You can use other online services like google font API or cufon that only request you add some extra code. Although am not sure if you will find that specific font.

Upvotes: 2

prodigitalson
prodigitalson

Reputation: 60413

IF you have a the proper license for the typeface you can embed it with @font-face which can work cross browser provided you have the rights to take the font an convert it.

There are also tools like Cufon and sIFR that use flash or JS to emebed and use fonts. CUFON i think you still need a license to convert to its format for embedding... sIFR really gets around the licensing since it being embedded in a flash movie.

Upvotes: 2

Michael Lorton
Michael Lorton

Reputation: 44376

There isn't (afaik) a Javascript solution to your problem, but you can use the CSS command @font-face

Upvotes: 2

Klemen Slavič
Klemen Slavič

Reputation: 19841

What you're looking for is the Mo' Bulletproofer Method by Paul Irish et co.

Also, try FontSquirrels' @font-face generator to see what the generated syntax is for a font and convert some freely available fonts for use on the web.

Upvotes: 3

Related Questions