fabricjs - How to make Fabric.js IText font NOT bold? -


in jsfiddle have itext fontweight: 'normal', still font displayed bold letters. how make text not bold?

javascript:

var canvas = new fabric.canvas('c');  var text = new fabric.itext('this text',{     left: 20,     top: 20,     fontfamily: 'arial',     fontweight: 'normal',     fontsize: 18,     stroke: 'black',     fill: 'black' });  canvas.add(text); 

the stroke effect makes appear bold.

the text has normal standard weight, here comparison without stroke effect.

var text = new fabric.itext('this text',{   left: 20,   top: 20,   fontfamily: 'arial',   fontweight: 'normal',   fontsize: 18,   fill: 'black' }); 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -