1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

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