Fix a small typo error with the kRasterizerMin usage
This commit is contained in:
parent
62e7d2f608
commit
406c2b2f2b
2
pdf.js
2
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user