小游戏IOS字体不模糊,但安卓字体模糊主要代码: const screenWidth = window.innerWidth const screenHeight = window.innerHeight const ratio = wx.getSystemInfoSync().pixelRatio; canvas.width = screenWidth * ratio; canvas.height = screenHeight * ratio; ctx.scale(ratio,ratio);