]> git.parisson.com Git - pdf.js.git/commitdiff
Fix a small typo error with the kRasterizerMin usage
authorVivien Nicolas <21@vingtetun.org>
Tue, 23 Aug 2011 14:49:25 +0000 (16:49 +0200)
committerVivien Nicolas <21@vingtetun.org>
Tue, 23 Aug 2011 14:49:25 +0000 (16:49 +0200)
pdf.js

diff --git a/pdf.js b/pdf.js
index 469eec578a88bbb622312b5f0d2704a55d5a930d..be585046f6a20762396c4431fa8b87633a53e7e8 100644 (file)
--- 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);
         }