Update itext.js

This commit is contained in:
Andrea Bogazzi 2016-02-18 12:19:40 +01:00
parent c16b525d41
commit 8ec69e19de

View file

@ -593,7 +593,8 @@
styles: {
0: {
0: { fill: '#112233' },
2: { stroke: '#223344', fontFamily: 'Engagement' }
2: { stroke: '#223344', fontFamily: 'Engagement' },
3: { backgroundColor: '#00FF00' }
}
},
fontFamily: 'Plaster'
@ -601,7 +602,7 @@
fabric.fontPaths = {
Engagement: 'path-to-engagement-font-file',
Plaster: 'path-to-plaster-font-file',
}
};
canvas.add(iText);
equal(typeof iText.toSVG, 'function');