Skip to content

Commit

Permalink
Try fixing char width for travis again
Browse files Browse the repository at this point in the history
  • Loading branch information
kangax committed Jul 18, 2014
1 parent 7de2aed commit 17bf296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/unit/itext.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'originY': 'top',
'left': 0,
'top': 0,
'width': 19,
'width': 20,
'height': 52,
'fill': 'rgb(0,0,0)',
'stroke': null,
Expand Down
4 changes: 2 additions & 2 deletions test/unit/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'useNative': true
};

var TEXT_SVG = '<g transform="translate(10 26)"><text font-family="Times New Roman" font-size="40" font-weight="normal" style="stroke: none; stroke-width: 1; stroke-dasharray: ; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); opacity: 1;" transform="translate(10 39)"><tspan x="0" y="-26" fill="rgb(0,0,0)">x</tspan></text></g>';
var TEXT_SVG = '<g transform="translate(10 26)"><text font-family="Times New Roman" font-size="40" font-weight="normal" style="stroke: none; stroke-width: 1; stroke-dasharray: ; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); opacity: 1;" transform="translate(-10 39)"><tspan x="0" y="-26" fill="rgb(0,0,0)">x</tspan></text></g>';

test('constructor', function() {
ok(fabric.Text);
Expand Down Expand Up @@ -155,7 +155,7 @@
var expectedObject = fabric.util.object.extend(fabric.util.object.clone(REFERENCE_TEXT_OBJECT), {
left: 4,
top: -10.4,
width: 7,
width: 8,
height: 20.8,
fontSize: 16,
originX: 'center'
Expand Down

0 comments on commit 17bf296

Please sign in to comment.