做system UI fonts对字体重量的作用方式相同吗?当字体是OS字体时,字体如何反应字体重量?
我尝试这样做:
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif
这
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500');
font-family: Roboto
在我的Ubuntu操作系统。字体重量对两个font-family都没有同样的影响。当与google.fonts
的Roboto一起使用font-weight: 500
时,文字变粗。当使用font-weight: 500
与system ui fonts
时,我没有大胆。
所以我想知道怎么回事?
_bold_的一般数值是700.试试看看。另外,并非所有字体都有_bold_版本。 – LGSon