小程序
小游戏
企业微信
微信支付
扫描小程序码分享
自定义字体,wxss里面支持,但是为什么canvas里面不支持?
ctx.font = "Bitstream Vera Serif Bold"
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
你好,支持,查看下文档:https://developers.weixin.qq.com/miniprogram/dev/api/ui/font/wx.loadFontFace.html
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
记得好像是英文的自定义字体可以,中文的不行,还有font要按语法来,bold写前面例如:italic small-caps bold 12px sans-serif
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
你好,支持,查看下文档:https://developers.weixin.qq.com/miniprogram/dev/api/ui/font/wx.loadFontFace.html
https://developers.weixin.qq.com/community/develop/doc/000e26672f8cf85a400e76b5156000
记得好像是英文的自定义字体可以,中文的不行,还有font要按语法来,bold写前面例如:italic small-caps bold 12px sans-serif