我在css中使用了一个自定义字体文件,但该字体不像PSD那样显示锐利。在PSD中,使用抗锯齿为“sharp”。在HTML页面中,它看起来是模糊的、振动的字体。我想给字体锐度与CSS或其他在HTML。我已经在css中尝试了'-webkit- font -smoothing‘属性,但是字体没有任何变化。
有没有办法为css文件或其他文件中的自定义字体提供这种
<html>
<title> </title>
<font face="file:///E:/softwares/FONTS/alpha kufi regular.ttf> This is a tester for a font, that may not be installed on the machine </font>