Permalink
Browse files

removing superfluous font metrics stuff

  • Loading branch information...
Danny Yoo
Danny Yoo committed Feb 10, 2011
1 parent e4d2b4b commit ad5fc14ab072a9c9e4c44c1e088a28731c4e16b3
Showing with 0 additions and 2 deletions.
  1. +0 −2 war/js/mzscheme-vm/support.js
@@ -10997,8 +10997,6 @@ var TextImage = function(msg, size, color, face, family, style, weight, underlin
this.height = Number(this.size);
} catch(e) {
this.fallbackOnFont();
- ctx.font = this.font;
- metrics = ctx.measureText(msg);
}
BaseImage.call(this, Math.round(this.width/2), 0);// weird pinhole settings needed for "baseline" alignment
}

0 comments on commit ad5fc14

Please sign in to comment.