Skip to content

Commit 8cba819

Browse files
author
xingying
committed
feat: 补充1486个字
1 parent 1deb10d commit 8cba819

File tree

7 files changed

+17762
-9
lines changed

7 files changed

+17762
-9
lines changed

HISTORY.md

+4
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@
1717
# 2023-09-12
1818

1919
- feat: 新增自行添补汉字的工具和文档
20+
21+
# 2023-09-27
22+
23+
- feat: 字库新增 1486 个字

demo/.docker/database/init.sql

+5,859
Large diffs are not rendered by default.
1.43 MB
Binary file not shown.

docs/Add_chars_into_ZDatas.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ cd tools && npm run merge-font
9292
```
9393

9494
> !!! 如果自己添补了新的汉字,需要在生成新的字体后将字体上传到cdn,并在使用的时候替换掉官方的字体cdn地址。
95-
> `https://mdn.alipayobjects.com/huamei_seif62/afts/file/A*63IqSLzYAdEAAAAAAAAAAAAADh18AQ/RareWordsFonts-v1.0.14.ttf` 的地址是蚂蚁Z字库的官方字体CDN地址,定期更新,不包含您自己添加的新增的汉字的字体。
95+
> `https://mdn.alipayobjects.com/huamei_2fq7mt/afts/file/A*wBbQRYCq_p4AAAAAAAAAAAAADh58AQ/RareWordsFonts.ttf` 的地址是蚂蚁Z字库的官方字体CDN地址,定期更新,不包含您自己添加的新增的汉字的字体。
9696
9797
## 后端数据库SQL文件
9898

frontend/utils/src/contants/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* 默认字体下载地址
33
*/
4-
export const DEFAULT_FONT_URL = 'https://mdn.alipayobjects.com/huamei_seif62/afts/file/A*63IqSLzYAdEAAAAAAAAAAAAADh18AQ/RareWordsFonts-v1.0.14.ttf';
4+
export const DEFAULT_FONT_URL = 'https://mdn.alipayobjects.com/huamei_2fq7mt/afts/file/A*wBbQRYCq_p4AAAAAAAAAAAAADh58AQ/RareWordsFonts.ttf';
55

66
/**
77
* 字库缓存key值

0 commit comments

Comments
 (0)