From 857d44bc97f190a49977367837a968962509347f Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Wed, 3 Nov 2010 14:15:17 -0700 Subject: [PATCH] todo --- lib/canvas.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;