I have downloaded a free font that comes in regular and bold variations, with the following formats: svg, eot, ttf, woff. These fonts display properly in Internet Explorer, but they are not working in Firefox. 1. I would like to understand which format is compatible with each web browser. 2. Can someone assist me in resolving this issue?
@font-face {
font-family: "Nazanin";
src: url("../font/nazanin.eot");
src: local("B Nazanin"),
url("../font/nazanin.eot?#iefix") format('embedded-opentype'),
url("../font/nazanin.woff") format("woff"),
url("../font/nazanin.ttf") format("truetype"),
url('../font/nazanin.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Nazanin";
src: url("../font/nazaninbold.eot");
src: local("B Nazanin bold"),
url("../font/nazaninbold.eot?#iefix") format('embedded-opentype'),
url("../font/nazaninbold.woff") format("woff"),
url("../font/nazaninbold.ttf") format("truetype"),
url('../font/nazaninbold.svg') format('svg');
font-weight: bold;
font-style: normal;
}
Additionally, I have verified that the font files themselves are functioning correctly.