Fix labels printing blank pages, adjust stuff until lines print clean

master
Skylar Ittner 4 years ago
parent 1879a80151
commit f3429366c9

File diff suppressed because it is too large Load Diff

@ -3625,7 +3625,7 @@ const defaultOptions = {
kind: OptionKind.VIEWER + OptionKind.PREFERENCE
},
printResolution: {
value: 1200,
value: 2000,
kind: OptionKind.VIEWER
},
renderer: {
@ -13137,8 +13137,9 @@ PDFPrintService.prototype = {
useRenderedPage(printItem) {
this.throwIfInactive();
const img = document.createElement("img");
img.style.width = printItem.width;
img.style.height = printItem.height;
img.style.width = (printItem.width.replace("px", "") - 2) + "px";
img.style.height = (printItem.height.replace("px", "") - 2) + "px";
const scratchCanvas = this.scratchCanvas;
if ("toBlob" in scratchCanvas && !this.disableCreateObjectURL) {

Binary file not shown.
Loading…
Cancel
Save