Mám Trebutchet MS ttf font na mojich webových stránkach.
Importovaný súbor vyzerá takto:
@font-face {
font-family: "Trebuchet-MS";
src: url("../fonts/Trebuchet-MS-Regular.ttf");
font-weight: 500;
}
@font-face {
font-family: "Trebuchet-MS";
src: url("../fonts/Trebuchet-MS-Bold.ttf");
font-weight: 700;
}
Pracuje perfektne na Google Chrome a mozilla, ale nefunguje na IE.
Akýkoľvek pokus o môj problém?
odpovede:
1 pre odpoveď č. 1@font-face {
font-family: "GothamBook";
src: url("../fonts/Gotham-Book.eot");
src: url(".../fonts/Gotham-Book.eot?#iefix") format("embedded-opentype"),
url("../fonts/Gotham-Book.woff") format("woff"),
url("../fonts/Gotham-Book.ttf") format("truetype"),
url("../fonts/Gotham-Book.svg#Gotham-Book") format("svg");
}
tento kód problém vyriešil