我已从Google字体导入Raleway字体,并在页面中出现了移位的数字。该问题已通过字体功能设置部分解决:“ lnum” 1;但似乎不能将字体粗细设置为500以上。我是否缺少某些内容?
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,400i');
body {
font-family: "Raleway", sans-serif;
-moz-font-feature-settings: "lnum" 1;
-webkit-font-feature-settings: "lnum" 1;
-ms-font-feature-settings: "lnum" 1;
font-feature-settings: "lnum" 1;
}