我在项目中使用Google Web字体,但遇到了一个奇怪的问题。在Chrome,Mobile Safari,Mobile Chrome甚至Android浏览器中,一切都可以正常运行,但是在非Webkit浏览器(IE11,最新FF)中,特殊字符(在我的情况下为“ğ,Ğ”)没有以标准字体显示。
这是字体导入:
@import url(https://fonts.googleapis.com/css?family=Allura);
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab);
按照Google的指示,您需要请求“ Latin Extended”的支持才能正确获取所有土耳其语字母。代替
@import url(https://fonts.googleapis.com/css?family=Allura);
使用
@import url(https://fonts.googleapis.com/css?family=Allura&subset=latin,latin-ext);
其他字体也是如此。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句