https://www.fontsquirrel.com/tools/webfont-generator (这个地址打开,直接可以转换字体)。
转换字体的步骤:
点击“upload fonts”按钮上传文件--->选择要转换的类型--->点击“ Yes, the fonts I'm uploading are legally eligible for web embedding.”,出现下载按钮--->点击“download your kit”,即可将转换后得到的字体下载下来。如下图:

当然,第二步第三个选项,是更详细的设置,如下:

下载完成,解压下载的压缩包,得到如下的文件:

转换字体的步骤:
点击“upload fonts”按钮上传文件--->选择要转换的类型--->点击“ Yes, the fonts I'm uploading are legally eligible for web embedding.”,出现下载按钮--->点击“download your kit”,即可将转换后得到的字体下载下来。如下图:

当然,第二步第三个选项,是更详细的设置,如下:

下载完成,解压下载的压缩包,得到如下的文件:

最后,将这些字体上传到您的服务器,再使用@font-face定义下这些字体:
/*声明特殊字体 fontNameQty*/
@font-face {
font-family: 'fontNameQty';
src: url('fontNameQty/opensans-webfont.eot');
src: url('fontNameQty/digital-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fontNameQty/digital-regular-webfont.woff2') format('woff2'),
url('fontNameQty/digital-regular-webfont.woff') format('woff'),
url('fontNameQty/v.ttf') format('truetype'),
url('fontNameQty/digital-regular-webfont.svg#open_sansregular') format('svg');
font-weight: normal;
font-style: normal;
}