Skip to content

我有堆字体文件,在主进程和渲染进程都会用到,需要在主进程和渲染进程个弄一份吗? #267

Answered by alex8088
lqomg asked this question in Q&A
Discussion options

You must be logged in to vote

可以将字体资源放在resources中,渲染进程通过file:///协议或者自定义协议加载

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lqomg
Comment options

@lqomg
Comment options

Answer selected by lqomg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants