# string wx.loadFont(string path)

# 功能描述

加载自定义字体文件

# 参数

# string path

字体文件路径。支持本地路径、代码包路径。

# 返回值

# string

如果加载字体成功,则返回字体 family 值,否则返回 null。