diff --git a/src/gameobjects/Text.js b/src/gameobjects/Text.js index 085b817a1..473abfe7c 100644 --- a/src/gameobjects/Text.js +++ b/src/gameobjects/Text.js @@ -815,6 +815,8 @@ Phaser.Text.prototype.addFontWeight = function (weight, position) { * @return {array} An array of strings with the pieces of wrapped text. */ Phaser.Text.prototype.precalculateWordWrap = function (text) { + this.texture.baseTexture.resolution = this._res; + this.context.font = this.style.font; var wrappedLines = this.runWordWrap(text); return wrappedLines.split(/(?:\r\n|\r|\n)/); };