0

I am using a custom font which is installed on my PC but need to make it work over the web. Please share the possible ways.

Ashley Medway
  • 7,151
  • 7
  • 49
  • 71
prabhakaran
  • 103
  • 1
  • 13

2 Answers2

1

You can try the link below which is hosted by google :)

https://www.google.com/fonts

Which you can use like below

<link href='http://fonts.googleapis.com/css?family=Allura' rel='stylesheet' type='text/css'>

and styling your text like

.myAwesomeLookingTextEveryoneWillLaughAt { font-family: ‘Allura’, cursive; }

For more details, please visit the link.

Rey Libutan
  • 5,226
  • 9
  • 42
  • 73
  • So should I include how he can include the fonts in my answer? like the script src (which is yeah, available in the link but not just visible directly here). – Rey Libutan Feb 27 '14 at 07:34
  • 2
    Okay, thanks! :) Atleast I am learning here. I'll edit my answer then. – Rey Libutan Feb 27 '14 at 07:37
1

Define fonts in your css with font location :

@font-face
{
  font-family: myFont;
  src: url(location/font.ttf);
}

then use it as p { font-family:myFont; }

Ashley Medway
  • 7,151
  • 7
  • 49
  • 71
Sushil Kandola
  • 870
  • 2
  • 9
  • 22