xxxxxxxxxx
var width = w2utils.getStrWidth('Some text', 'font-size: 40px; font-weight: bold;');
console.log(width);