本帖最后由 ky52879 于 2019-10-18 10:24 编辑
是因为Android的webview对于字体处理这一块不成熟导致的,解决方案如下:
在rpg_core.js中找到下图的内容
修改为这样即可
Graphics._setupCssFontLoading = function(){ if(Graphics._cssFontLoading){ if (document.fonts.ready.then) { document.fonts.ready.then(function(fonts){ Graphics._fontLoaded = fonts; }).catch(function(error){ SceneManager.onError(error); }); } else { document.fonts.ready().then(function(fonts){ Graphics._fontLoaded = fonts; }).catch(function(error){ SceneManager.onError(error); }); } } };
Graphics._setupCssFontLoading = function(){
if(Graphics._cssFontLoading){
if (document.fonts.ready.then) {
document.fonts.ready.then(function(fonts){
Graphics._fontLoaded = fonts;
}).catch(function(error){
SceneManager.onError(error);
});
} else {
document.fonts.ready().then(function(fonts){
Graphics._fontLoaded = fonts;
}).catch(function(error){
SceneManager.onError(error);
});
}
}
};
|