Sto cercando di utilizzare Segoe UI Light, Segoe UI Semilight e Segoe UI su una pagina Web. Rende grande in IE, ma Chrome non sembra distinguere tra Luce e Semilight.Segoe UI Semilight in CSS non funziona su Chrome
Sto usando il CSS suggerito su this StackOverflow answer, come suggerito da Microsoft.
/*
Explicitly define a Segoe UI font-family so that we can assign Segoe UI
Semilight to an appropriate font-weight.
*/
@font-face {
font-family: "Segoe UI";
font-weight: 200;
src: local("Segoe UI Light");
}
@font-face {
font-family: "Segoe UI";
font-weight: 300;
src: local("Segoe UI Semilight");
}
@font-face {
font-family: "Segoe UI";
font-weight: 400;
src: local("Segoe UI");
}
@font-face {
font-family: "Segoe UI";
font-weight: 600;
src: local("Segoe UI Semibold");
}
@font-face {
font-family: "Segoe UI";
font-weight: 700;
src: local("Segoe UI Bold");
}
@font-face {
font-family: "Segoe UI";
font-style: italic;
font-weight: 400;
src: local("Segoe UI Italic");
}
@font-face {
font-family: "Segoe UI";
font-style: italic;
font-weight: 700;
src: local("Segoe UI Bold Italic");
}
Il seguente jsfiddle mostra vari font di Segoe UI, tra cui Luce e Semilight: http://jsfiddle.net/nHXDA/
Ecco i risultati.
Chrome:
IE:
Tutte le idee su come risolvere questo problema?
Sto avendo lo stesso problema. Ecco un CodePen che mostra l'interfaccia utente locale di Segoe con il carattere Web: http://codepen.io/mikewheaton/pen/vxVgJx –