有没有可用的免费且离线字体转换器,可以将.ttf(TrueType)格式转换为以下格式:
- .eot
- .woff
- .svg
希望在@font-face
中使用。
@font-face {
font-family: 'MyFontFace';
src: url('fonts/MyFont.eot');
src: local('☺'), url('fonts/MyFont.woff') format('woff'),
url('fonts/MyFont.ttf') format('truetype'), url('fonts/MyFont.svg')
format('svg');
font-weight: normal;
font-style: normal;
}