@font-face{
font-family:Nanum Barun Gothic;
src:url(NanumBarunGothic.ttf);
unicode-range:U+AC00-D7A3,U+1100–11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;
}
body{font-family:Nanum Barun Gothic, sans-serif;}
// I confirmed that the sans-serif font is not the one here by checking with Chrome developer tool我使用上述代码,并打算只使用这种字体的字符在指定的unicode-范围,并排除任何其他字符,包括默认的英文字符。
然而,在我的网站上,它仍然会显示这个字体中的其他字符。如您所见,上面的字体仍然显示英文,而第二种字体使用的是无衬线。我该如何解决这个问题?
非常感谢你的帮助。
发布于 2016-08-31 11:00:59
U+AC00-D7A3,U+1100–11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF
^您的字符范围之一包含一个en破折号(U+2013),而不是ASCII连字符减号。
https://stackoverflow.com/questions/39245888
复制相似问题