-
我有堆字体文件,在主进程和渲染进程都会用到,需要在主进程和渲染进程个弄一份吗?还是有什么替代方案呢 |
Beta Was this translation helpful? Give feedback.
Answered by
alex8088
Sep 1, 2023
Replies: 1 comment 2 replies
-
可以将字体资源放在resources中,渲染进程通过file:///协议或者自定义协议加载 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
lqomg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以将字体资源放在resources中,渲染进程通过file:///协议或者自定义协议加载