We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8010b5d + ce973e2 commit bbfd9abCopy full SHA for bbfd9ab
1 file changed
src/type/textCore.js
@@ -1587,13 +1587,6 @@ function textCore(p5, fn) {
1587
if (typeof weight === 'number') {
1588
this.states.setValue('fontWeight', weight);
1589
this._applyTextProperties();
1590
-
1591
- // Safari works without weight set in the canvas style attribute, and actually
1592
- // has buggy behavior if it is present, using the wrong weight when drawing
1593
- // multiple times with different weights
1594
- if (!p5.prototype._isSafari()) {
1595
- this._setCanvasStyleProperty('font-variation-settings', `"wght" ${weight}`);
1596
- }
1597
return;
1598
}
1599
// the getter
0 commit comments