Özel yazı tiplerinin iyonik projemde çalışamam.Özel font iyonik olarak yüklenmiyor
Konsolu:
downloadable font: download failed (font-family: "Open Sans" style:normal weight:200 stretch:normal src index:1): status=2147500037 source: file:///Users/MehdiNathani/Desktop/Fitness/Fitness/www/lib/ionic/fonts/opensans-regular-webfont.woff style.css:408:12
------------------------------------------------------------------------
downloadable font: download failed (font-family: "Open Sans" style:normal weight:200 stretch:normal src index:2): status=2147500037 source: file:///Users/MehdiNathani/Desktop/Fitness/Fitness/www/lib/ionic/fonts/opensans-regular-webfont.ttf style.css:408:12
------------------------------------------------------------------------
CSS Dosya: Yanlış yapıyorum
@font-face {
font-family: 'Open Sans';
src: url('../lib/ionic/fonts/opensans-regular-webfont.eot');
src: url('../lib/ionic/fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../lib/ionic/fonts/opensans-regular-webfont.woff') format('woff'),
url('../lib/ionic/fonts/opensans-regular-webfont.ttf') format('truetype'),
url('../lib/ionic/fonts/opensans-regular-webfont.svg') format('svg');
font-weight: 200;
}
?
Firefox'ta mı? Dosyayı yerel olarak mı sunuyorsunuz? – Niloct
Evet Firefox..it Safari'de çalışır. Ve ben hata kodu ve firefox için yerel olarak – MehdiN
Google hizmet ediyorum, ilk sayfa bunu döndürür: http://stackoverflow.com/questions/19817459/firefox-font-face-with-local-file-downloadable-font-download- başarısız oldu – Niloct