Fix print font size bug and Edit printResolution to 300.
This commit is contained in:
parent
a82706cfc8
commit
32855e3ff3
|
@ -12634,7 +12634,7 @@ var CanvasGraphics = /*#__PURE__*/function () {
|
|||
}
|
||||
|
||||
this.current.fontSizeScale = size / browserFontSize;
|
||||
this.ctx.font = "".concat(italic, " ").concat(bold, " ").concat(browserFontSize / 16.0, "em ").concat(typeface);
|
||||
this.ctx.font = document.body.dataset.pdfjsprinting ? "".concat(italic, " ").concat(bold, " ").concat(browserFontSize, "px ").concat(typeface) : "".concat(italic, " ").concat(bold, " ").concat(browserFontSize / 16.0, "em ").concat(typeface);
|
||||
}
|
||||
}, {
|
||||
key: "setTextRenderingMode",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -132,7 +132,7 @@ var defaultOptions = {
|
|||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE
|
||||
},
|
||||
printResolution: {
|
||||
value: 150,
|
||||
value: 300,
|
||||
kind: OptionKind.VIEWER
|
||||
},
|
||||
renderer: {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue