Salve a tutti,
sto implementando il mio nuovo sito web.
Sto testando i font del mio sito su tutti i browser sia su piattaforma Mac (sulla quale abitualmente lavoro) sia su (ahimé) Windows. Chiaramente, come vi immaginerete, sotto Mac i font funzionano e vengono caricati correttamente con tutti i browser testati (Opera, Firefox, Chrome, Safari) mentre sotto Windows + Chrome oppure IE10 no... (?!?).
Mi riferisco al comunissimo font "Geneva". In pratica sotto Windows + Chrome o Windows + IE10 anziché Geneva carica "Times New Roman". Perché??? Ovviamente ho scaricato Geneva.ttf e convertito in ".eot" per IE ed entrambi si trovano nella mia cartella /font.
Grazie in anticipo per un vostro aiuto!
Inserisco uno stralcio del mio CSS:
/*stili per il layout fisso con posizionamenti assoluti*/
html,body{margin: 0;padding:0;height: 100%}
/*caricamento font Forque*/
@font-face {
font-family: "Forque";
src: url('../font/Forque.eot'); /* IE */
src: local("Forque"), url('../font/Forque.ttf') format("truetype") /* non IE */
}
/*caricamento font Geneva*/
@font-face {
font-family: "Geneva";
src: url('../font/Geneva.eot'); /* IE */
src: local("Geneva"), url('../font/Geneva.ttf') format("truetype") /* non IE */
}
/*stili per body*/
body {font-family: "Geneva";font-size: 62.5%;
text-align: center /*per Internet Explorer*/
}
[...]

Rispondi quotando