So trying to add a custom @font-face font to my asp.net project. Got it working in chrome browser...
@font-face
{
font-family: "Century Gothic";
src: url('GOTHIC.TTF'),
}
body {
background-color: #fff;
border-top: solid 10px #000;
color: #333;
font-size: .85em;
font-family: "Century Gothic", Segoe UI, Verdana, Helvetica, Sans-Serif;
margin: 0;
padding: 0;
}
but need help with the others....(this is my attempt)...but not working:
@font-face
{
font-family: "Century Gothic";
src: url('../GOTHIC.eot');
src: url('../GOTHIC.eot?#iefix') format('embedded-opentype'),
url('../GOTHIC.woff') format('woff'),
url('../GOTHIC.ttf') format('truetype'),
url('../GOTHIC.svg#URWClassicoItalic') format('svg');
font-weight: normal;
font-style: normal;
}
Also not sure if I need the .eot, .woff etc extensions. I have only added
GOTHIC.TTF
GOTHICB.TTF
GOTHICBI.TTF
GOTHICI.TTF to my prjoect.
working from:
http://stackoverflow.com/questions/8115302/font-face-not-working-even-after-trying-everything-i-could-think-of?rq=1
http://stackoverflow.com/questions/6238737/font-face-with-embedded-font-does-not-work?rq=1
http://stackoverflow.com/questions/20659571/adding-a-custom-font-to-vs-2010-fontface