字体转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;
}

复制代码

 

 

 

字体字重:Light, Regular, Medium, Bold, Heavy

 

posted @   纵一苇之所如-  阅读(63)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 【.NET】调用本地 Deepseek 模型
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
点击右上角即可分享
微信分享提示