From 406c2b2f2b5dfeda4c5ab1132965e9ad7844e05c Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Tue, 23 Aug 2011 16:49:25 +0200 Subject: [PATCH] Fix a small typo error with the kRasterizerMin usage --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 469eec578..be585046f 100644 --- a/pdf.js +++ b/pdf.js @@ -4727,7 +4727,7 @@ var CanvasGraphics = (function() { var scaleFactorX = 1, scaleFactorY = 1; var font = this.current.font; if (font) { - if (this.current.fontSize < kRasterizerMin) { + if (this.current.fontSize <= kRasterizerMin) { scaleFactorX = scaleFactorY = kScalePrecision; ctx.scale(1 / scaleFactorX, 1 / scaleFactorY); }