Skip to content

关于PAGFont.RegisterFont的疑问 #2570

Answered by kevingpqi123
1456397920 asked this question in Q&A
Discussion options

You must be logged in to vote

如果不再使用需要调用 PAGFont.UnregisterFont, PAGFont.RegisterFont 后内部会有一个 map 缓存 TypeFace, 这个 map 是全局的,如果确认后续一段时间不再使用,建议调用 PAGFont.UnregisterFont 及时清除这部分内存

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kevingpqi123
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