|
|
|
@ -103,10 +103,8 @@ class posterCommand extends Command {
|
|
|
|
|
const TOP_POS = Math.abs((value.height / 2) - PADDING + 110);
|
|
|
|
|
const BOTTOM_POS = Math.abs((value.height / 2) - PADDING + 180);
|
|
|
|
|
|
|
|
|
|
let FONT_SIZE1 = (value.width / 12);
|
|
|
|
|
if (args.title) FONT_SIZE1 = args.title;
|
|
|
|
|
let FONT_SIZE2 = (value.width / 12) - 15;
|
|
|
|
|
if (args.subtext) FONT_SIZE2 = args.subtext;
|
|
|
|
|
let FONT_SIZE1 = args.title ? args.title : (value.width / 12);
|
|
|
|
|
let FONT_SIZE2 = args.subtext ? args.subtext : (value.width / 12) - 15;
|
|
|
|
|
|
|
|
|
|
let BORDER_WIDTH = args.width;
|
|
|
|
|
let BORDER_HEIGHT = args.height;
|
|
|
|
|