我的网站有以下 CSS
@font-face {
font-family: 'malayalam';
src: url("../fonts/mal/kartika.eot"); /* EOT file for IE */
src: url('../fonts/mal/kartika.eot?#iefix') format('embedded-opentype');
src: local('malayalam'),
url("../fonts/mal/kartika.ttf") format('truetype')
url("../fonts/mal/kartika.woff") format("woff"),
url('../fonts/mal/kartika.svg#Kartika') format('svg');
}
它适用于 IE、FireFox (Waterfox) 和 Chrome,但不适用于 Safari (Win7)
以上字体kartika是windows自带的unicode字体
问题是字符“ർ”(如上所述在所有浏览器中显示良好)在 Safari (Win7) 中显示为“ര്”
我可以知道为什么吗?有什么解决办法吗?
最佳答案
可能是您没有为这些浏览器打开 unicode 设置,或者文本对齐方式可能是原因:
Solution for the blogger: This issue happens when the text is formatted with align="justify" or letter-spacing:..em;. Either remove justfy or change that to something else like left/right/center.
关于css - Safari 不显示字体正确,但其他人却显示,为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18419024/