增加通过android的TypeFace设置pag的字体 #2217
-
android各种请求字体的方式最后都返回的是一个typeFace,这个拿不到路径,二进制数据也只能通过反射访问,有没有可能pag直接支持type去设置字体。 |
Beta Was this translation helpful? Give feedback.
Answered by
kevingpqi123
Mar 26, 2024
Replies: 1 comment 4 replies
-
如果使用的是系统字体,获取到 TypeFace 的 fontFamily 和 fontStyle,传递给 PAGText 即可 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
kevingpqi123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果使用的是系统字体,获取到 TypeFace 的 fontFamily 和 fontStyle,传递给 PAGText 即可