苹方字体PingFang-SC-Bold比Medium要小?!
上次的小程序,无意间发现字体有问题。就是PingFang-SC-Bold 竟然不如 PingFang-SC-Medium!效果图如下: [图片] 或者直接复制下方代码粘贴到小程序中保存即可看到效果上图的效果。 代码片段: [代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'fonts'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-family:PingFang-SC-Bold;'[代码][代码]>字体 PingFang-SC-Bold</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-family:PingFang-SC-Medium;'[代码][代码]>字体 PingFang-SC-Medium;</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-family:PingFang-SC-Regular;'[代码][代码]>字体 PingFang-SC-Regular;</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-family:PingFang-SC-light;'[代码][代码]>字体 PingFang-SC-light</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]''[代码][代码]>默认系统字体</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:300'[代码][代码]>默认系统字体 300</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:400'[代码][代码]>默认系统字体 400</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:500'[代码][代码]>默认系统字体 500</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:600'[代码][代码]>默认系统字体 600</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:700'[代码][代码]>默认系统字体 700</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:800'[代码][代码]>默认系统字体 800</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]style[代码][代码]=[代码][代码]'font-weight:900'[代码][代码]>默认系统字体 900</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码]弱弱的问下:这个问题要怎么解决,明明Bold比Medium粗,怎么结果翻车了?[图片]