Skip to content
Discussion options

You must be logged in to vote

字体这种好像就是需要自己换算一下size,乘以屏幕的scaleFactor/pixelRatio就行。引擎始终是只按物理像素点进行渲染的。视图上开启contentScaleFactor这种是扩大了引擎渲染的画布分辨率。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Comment options

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