A printed poster's leader lines match the image print's weight (measured)
This commit is contained in:
parent
d4ee4a7079
commit
3a4de59fb7
1 changed files with 1 additions and 1 deletions
|
|
@ -873,7 +873,7 @@ function fitForPrint(html) {
|
|||
// and clipped to the fitted box too (the frame print has no root, so this rule changes nothing there).
|
||||
const css = `<style>@media print{@page{margin:${PRINT_MARGIN_MM}mm}.stage{transform:scale(${(+sc[1] * f).toFixed(6)})}`
|
||||
+ `html,body{width:${w}px;height:${h}px}#dxm-print-root{width:${w}px!important;height:${h}px!important;overflow:hidden!important;margin:0!important}`
|
||||
+ `.lead{stroke-opacity:.75}.slead{opacity:.5}}</style>`
|
||||
+ `.lead{stroke-opacity:.6}.slead{opacity:.4}}</style>`
|
||||
return html.replace('</head>', css + '</head>')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue