我在AI中创建了一些图标,所以现在我正在寻找如何在不使用第三方应用程序(如fontastic ......)的情况下将它们转换为web图标字体
所以我需要创建自己的.ttf,.eot,.woff和.svg文件以这种方式插入它们
@font-face {
font-family: "MYFONT";
src:url("fonts/MYFONT.eot");
src:url("fonts/MYFONT.eot?#iefix") format("embedded-opentype"),
url("fonts/MYFONT.woff") format("woff"),
url("fonts/MYFONT.ttf") format("truetype"),
url("fonts/MYFONT.svg#MYFONT") format("svg");
}
Run Code Online (Sandbox Code Playgroud)
任何帮助都会非常有用:)