From 70f2d600a7ebcfcb8c47ded9cf4827cac17ed677 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 22 Feb 2020 22:58:10 +0100 Subject: [PATCH] remove stroke entirely --- commands/images/poster.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/commands/images/poster.js b/commands/images/poster.js index 9cd221e..4fc5615 100644 --- a/commands/images/poster.js +++ b/commands/images/poster.js @@ -88,7 +88,6 @@ class posterCommand extends Command { const FONT = './asset/times.ttf'; const FONT_FILL = '#FFF'; const TEXT_POS = 'center'; - const STROKE_COLOR = '#000'; const PADDING = 40; img.format(function(err, format) { @@ -121,7 +120,6 @@ class posterCommand extends Command { .borderColor('black') .border(BORDER_WIDTH,BORDER_HEIGHT) .fill(FONT_FILL) - .stroke(STROKE_COLOR) .font(FONT, FONT_SIZE1) .drawText(0, TOP_POS, TOP_TEXT, TEXT_POS) .font(FONT, FONT_SIZE2)