FontSpider(中文字体压缩器) V3.0.8 官方版
版本
网友评分:
5分
FontSpider是一款中文字体压缩器,让网页自由引入中文字体成为可能。字蛛通过分析本地 CSS 与 HTML 文件获取 WebFont 中没有使用的字符,并将这些字符数据从字体中删除以实现压缩,同时生成跨浏览器使用的格式。

先安装好 NodeJS,然后执行:
npm install font-spider -g
在 CSS 中使用 WebFont:
/*声明 WebFont*/
@font-face {
font-family: 'pinghei';
src: url('../font/pinghei.eot');
src:
url('../font/pinghei.eot?#font-spider') format('embedded-opentype'),
url('../font/pinghei.woff') format('woff'),
url('../font/pinghei.ttf') format('truetype'),
url('../font/pinghei.svg') format('svg');
font-weight: normal;
font-style: normal;
}
/*使用选择器指定字体*/
.home h1, .demo > .test {
font-family: 'pinghei';
}
1. @font-face 中的 src 定义的 .ttf 文件必须存在,其余的格式将由工具自动生成
2. 开发阶段请使用相对路径的 CSS 与 WebFont
标签: 字体压缩器
OPPO Sans字体 +5 ttf直装版
22.09M / 简体中文 /8.1
Wingdings2字体 免费版
65K / 简体中文 /8.1
站酷小薇LOGO体 免费版
2.15M / 简体中文 /9.3
仿宋gb2312字体win7版 免费版
2.31M / 简体中文 /4.6
方正喵呜体 官方免费版
3.44M / 简体中文 /4.4
方正小标宋简体字体 官方免费版
1.67M / 简体中文 /3.7