File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ module.exports = class Render {
47
47
48
48
generate ( format ) {
49
49
let props = {
50
+ zoom : `0.9` ,
50
51
size : {
51
52
width : 880 ,
52
53
height : 480
@@ -79,6 +80,7 @@ module.exports = class Render {
79
80
}
80
81
break ;
81
82
case `dds.prtf` :
83
+ props . zoom = `0.7` ;
82
84
props . size = {
83
85
width : 132 * 11 ,
84
86
height : 66 * 20
@@ -122,7 +124,7 @@ module.exports = class Render {
122
124
body += content . body ;
123
125
124
126
return [
125
- `<html>` ,
127
+ `<html style="zoom: ${ props . zoom } ;" >` ,
126
128
`<style>${ css } </style>` ,
127
129
`<body>${ body } </body>` ,
128
130
`</html>`
@@ -488,6 +490,9 @@ module.exports = class Render {
488
490
489
491
const key = keyword . name ;
490
492
switch ( key ) {
493
+ case `PAGNBR` :
494
+ field . value = `####`
495
+ break ;
491
496
case `COLOR` :
492
497
css += `color: ${ colors [ keyword . value ] } ;`
493
498
break ;
You can’t perform that action at this time.
0 commit comments