【发布时间】:2017-01-07 19:47:17
【问题描述】:
@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 范围内的字符,并且不包括任何其他字符,包括默认的英文字符。
但是,在我的网站中,它仍然以这种字体显示其他字符。如您所见,上面的仍然以定义的字体显示英文,而第二个使用的是无衬线字体。我该如何解决这个问题?
非常感谢您的帮助。
【问题讨论】: