-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from purplebamboo/ignore-types
feat: `convert()` 和 `font.output()` 中的 `types` 选项将自动忽略不支持的格式
- Loading branch information
Showing
33 changed files
with
425 additions
and
1,183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
# 0.3.0 (2021-05-11) | ||
- `convert()` 和 `font.output()` 中的 `types` 选项将自动忽略不支持的格式 | ||
- 升级相关依赖 | ||
- 更新测试用例,生成 ttx 文件,方便查看升级后的字体变化 | ||
- 由于升级的 ttf2woff2 依赖 Node.js >=12.19.0,font-carrier 不再支持小于 12.19.0 的版本 | ||
# 0.2.1 (2021-03-16) | ||
|
||
* Engine 中的 `convert()` 方法支持转换 ttf 文件(之前只支持 svg 字体) | ||
- Engine 中的 `convert()` 方法支持转换 ttf 文件(之前只支持 svg 字体) | ||
|
||
# 0.2.0 (2019-09-06) | ||
* New: 支持配置 svg2ttf 的 options 参数 | ||
* Fix: 部分字体基线错位 | ||
* Fix: 升级 svgpath,修复 [arcs 解析错误](https://github.com/fontello/svgpath/issues/23) | ||
* Update: 升级除 ttf2svg 以外的所有依赖 | ||
* Doc: 增加 MIT LICENSE,增加 changelog.md | ||
- New: 支持配置 svg2ttf 的 options 参数 | ||
- Fix: 部分字体基线错位 | ||
- Fix: 升级 svgpath,修复 [arcs 解析错误](https://github.com/fontello/svgpath/issues/23) | ||
- Update: 升级除 ttf2svg 以外的所有依赖 | ||
- Doc: 增加 MIT LICENSE,增加 changelog.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
{ | ||
"name": "font-carrier", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "字体搬运工,中文字体解决方案,iconfont", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"test": "node ./test/index.js", | ||
"ttx": "ttx -f test/font1.ttf test/font2.ttf test/font3.ttf test/test.ttf" | ||
"ttx": "ttx -f test/font-out/font1.ttf test/font-out/font2.ttf test/font-out/font3.ttf test/font-out/arrow-up.ttf" | ||
}, | ||
"author": [ | ||
"purplebamboo <[email protected]>", | ||
"yisibl <[email protected]>" | ||
], | ||
"dependencies": { | ||
"lodash": "^4.17.15", | ||
"lodash": "^4.17.21", | ||
"multiline": "^2.0.0", | ||
"opentype.js": "^1.1.0", | ||
"svg2ttf": "^4.3.0", | ||
"svg2ttf": "^5.2.0", | ||
"svg_pathify": "^0.0.8", | ||
"svgpath": "^2.2.2", | ||
"svgpath": "^2.3.1", | ||
"ttf2eot": "^2.0.0", | ||
"ttf2svg": "0.0.7", | ||
"ttf2woff": "^2.0.1", | ||
"ttf2woff2": "^3.0.0", | ||
"ttf2woff": "^2.0.2", | ||
"ttf2woff2": "^4.0.2", | ||
"xmldom": "^0.1.27" | ||
}, | ||
"devDependencies": {}, | ||
|
@@ -30,7 +30,7 @@ | |
"url": "git://github.com/purplebamboo/font-carrier.git" | ||
}, | ||
"engines": { | ||
"node": ">= 0.4.x" | ||
"node": ">=12.19.0" | ||
}, | ||
"keywords": [ | ||
"font", | ||
|
Binary file not shown.
Oops, something went wrong.