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:
parent
62e7d2f608
commit
406c2b2f2b
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue