diff --git a/lib/canvas.js b/lib/canvas.js index 1d3b635..3f519f5 100644 --- a/lib/canvas.js +++ b/lib/canvas.js @@ -480,9 +480,10 @@ Context2d.prototype.__defineSetter__('font', function(val){ if ('string' == typeof val) { var font; if (font = cache[val] || parseFont(val)) { - // TODO: dpi this.lastFontString = val; + // TODO: dpi + // TODO: remaining unit conversion switch (font.unit) { case 'pt': font.size /= .75;