通过canvas画图,不能设置本地自定义的字体?

发布于 8 年前作者 hanxia13974 次浏览最后编辑 8 年前来自 ask

context.font = ‘normal 10px localFamily’

通过canvas画图,通过设置本地自定义的字体,开发者工具中可以正常显示,但是在手机中无法显示

1 回复
gang04
gang041 楼6 年前

canvas貌似不支持网络地址的字体。。只支持手机系统字体。