I am using custom font files .ttf, .eot and .otf formats in my web application, the problem is when I am trying to login (Clicking on Login button) with newly register user .ttf file is downloading in to my local machine.
I tried in many cases to resolve the issue but able to do it. I am using below CSS for this
@font-face { font-family: 'Open Sans'; src: local(Open Sans),url('fonts/OpenSans-Regular.eot'); src: local(Open Sans),url('fonts/OpenSans-Regular.eot #iefix') format('embedded-opentype'), url('fonts/OpenSans/OpenSans-Regular.ttf') format('truetype'); }
Can anyone please help me.
Thank you!