EffEPi/fabric.curvedText

Change fontWeight or textDecoration doesn't update the text

Closed this issue · 4 comments

Change fontWeight or textDecoration doesn't update the text

Seems like this happens only when the property is changed by assignment, but it works with "set":

curvedText.fontWeight = 'bold';         //doesn't work
curvedText.set('fontWeight','bold');    //works

This happens with Stroke and strokeWidth as well, and I assume that this is happening with all the other settings when the "set" function is not called

@EffEPi how do we change the font-family?

you should be able to change the same way you change it on the text. I build it to use the same properties