diff --git a/src/type/textCore.js b/src/type/textCore.js index 079294b64a..b978fdee12 100644 --- a/src/type/textCore.js +++ b/src/type/textCore.js @@ -1587,13 +1587,6 @@ function textCore(p5, fn) { if (typeof weight === 'number') { this.states.setValue('fontWeight', weight); this._applyTextProperties(); - - // Safari works without weight set in the canvas style attribute, and actually - // has buggy behavior if it is present, using the wrong weight when drawing - // multiple times with different weights - if (!p5.prototype._isSafari()) { - this._setCanvasStyleProperty('font-variation-settings', `"wght" ${weight}`); - } return; } // the getter