Reputation: 256
I have a font file in font directory of my project and use it to css file,in my system working true but not working in the client system.how to use it that correct result ?
my font-face in css is :
@font-face {
font-family: 'Yekan';
src: url('font/Yekan.eot');
src: url('Font/Yekan.woff');
src: url('Font/Yekan.eot?#iefix') format('embedded-opentype'), url('font/Yekan.ttf'), url('font/Yekan.svg');
font-weight: bold;
}
My font path is :
Upvotes: 0
Views: 300
Reputation: 76
You can also try creating a web font
https://www.web-font-generator.com/
Upvotes: 1
Reputation: 74
Try to remove all the ' ' from the css.
This should work for you.
Upvotes: 0