如何检查字体是否有符号 [英] How to check if the font has a symbol
本文介绍了如何检查字体是否有符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的文档中有以下CSS规则
I have the following css rule in my document
font-family: "Trebuchet MS", Tahoma;
但我发现某些浏览器的Trebuchet MS字体
没有符号I
在这种情况下,浏览器显示正方形而不是符号。
but I found out that some browsers have Trebuchet MS font
without symbols I need (some language with non-latin characters).
And in this case browser shows squares instead of symbols.
如何检查(
(即,如何检查访客浏览器中安装的
字体中是否缺少某些符号)
How can I check it (probably via javascript)?
(i.e. how can I check if some symbols are missing in the
font installed in my visitor's browser)
推荐答案
据我所知,您不能检查单个符号,但是可以检查编码。
As far as I know, you can't check individual symbols, but you can check the encoding.
这篇关于如何检查字体是否有符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文