Fix a small typo error with the kRasterizerMin usage

This commit is contained in:
Vivien Nicolas 2011-08-23 16:49:25 +02:00
parent 62e7d2f608
commit 406c2b2f2b

2
pdf.js
View File

@ -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);
}