Fixed bug where opera test was left in canvg, breaking PNG export.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1538 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-04-22 13:25:40 +00:00
parent 7f2428557d
commit d0ec5bd9d0

View File

@@ -605,7 +605,6 @@ if(!window.console) {
if (this.style('stroke-miterlimit').hasValue()) ctx.miterLimit = this.style('stroke-miterlimit').value;
// font
opera.postError('typeof(ctx.font):' + ctx.font);
if (typeof(ctx.font) != 'undefined') {
ctx.font = svg.Font.CreateFont(
this.style('font-style').value,