Skip to content

Commit d9b3940

Browse files
authored
Merge pull request #757 from wechat-miniprogram/doc/WXFont
feat: update WXFont docs
2 parents 452d358 + 815252d commit d9b3940

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Design/WXFont.md

+9
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ WeChatWASM.WX.GetWXFont(fallbackFont, (font) =>
2525
```
2626

2727
## 系统字体字符集
28+
29+
使用GetWXFont加载的字体集合可以在转换面板进行自定义,以减少加载的字体文件大小:
30+
31+
<img src='../image/WXFont.png' width="500"/>
32+
33+
若需要某些特殊Unicode/仅需要部分Unicode,可以直接将需要的字符全部填入自定义Unicode中。
34+
35+
Unicode集合参考:
36+
2837
```js
2938
// https://unicode.yunser.com/unicode
3039
const unicodeRange = [

image/WXFont.png

112 KB
Loading

0 commit comments

Comments
 (0)