diff --git a/js/cufon.js b/js/cufon.js index 1b39707..e61baba 100644 --- a/js/cufon.js +++ b/js/cufon.js @@ -1391,6 +1391,7 @@ Cufon.registerEngine('canvas', (function() { canvas.width = canvasWidth * pixelRatio; canvas.height = canvasHeight * pixelRatio; g.scale(pixelRatio, pixelRatio); + cStyle.top = Math.round((size.convert(expandTop - font.ascent)) / pixelRatio) + 'px'; } // proper horizontal scaling is performed later