其他分享
首页 > 其他分享> > 字体转WEB兼容

字体转WEB兼容

作者:互联网

http://www.fontconverter.org/
https://www.fontsquirrel.com/tools/webfont-generator
https://www.fontke.com/tool/convfont/   收费

 https://transfonter.org/ 推荐

@charset "UTF-8";

@font-face {
  font-family: "SourceHanSansCN-Regular-2";
  src: url("SourceHanSansCN-Regular-2.woff2") format("woff2"),
       url("SourceHanSansCN-Regular-2.woff") format("woff"),
       url("SourceHanSansCN-Regular-2.ttf") format("truetype"),
       url("SourceHanSansCN-Regular-2.eot") format("embedded-opentype"),
       url("SourceHanSansCN-Regular-2.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}

 

标签:WEB,www,SourceHanSansCN,format,url,兼容,Regular,字体,font
来源: https://www.cnblogs.com/panjinzhao/p/16184830.html