diff --git a/mccs-it/thermal/modules/Thermal.js b/mccs-it/thermal/modules/Thermal.js index 5583089..84dba3a 100644 --- a/mccs-it/thermal/modules/Thermal.js +++ b/mccs-it/thermal/modules/Thermal.js @@ -51,9 +51,9 @@ module.exports = { // Create the output text const infoArray = [ 'We have changed your password to a temporary password, shown below. Next time you log into Microsoft you will be prompted to change your password.\n', - 'Password requirements:\n8+ characters\n1+ Uppercase\n1+ Lowercase\n1+ Special (!/_=.,?)\n', 'Temporary Password:', `${password}\n`, + 'Password requirements:\n8+ characters\n1+ Uppercase\n1+ Lowercase\n1+ Special (!/_=.,?)\n', receiptFooter ]; return infoArray.join('\n'); @@ -89,9 +89,10 @@ module.exports = { doc.moveDown(); doc.moveDown(); doc.moveDown(); - + // Write the text from infoString - doc.fontSize(12).text(infoString, { + doc.fontSize(12) + doc.font('public/Outfit-Regular.ttf').text(infoString, { align: 'left', }); diff --git a/mccs-it/thermal/public/Outfit-Regular.ttf b/mccs-it/thermal/public/Outfit-Regular.ttf new file mode 100644 index 0000000..826899c Binary files /dev/null and b/mccs-it/thermal/public/Outfit-Regular.ttf differ diff --git a/mccs-it/thermal/public/main.css b/mccs-it/thermal/public/main.css new file mode 100644 index 0000000..edb181c --- /dev/null +++ b/mccs-it/thermal/public/main.css @@ -0,0 +1,8 @@ +@font-face { + font-family: Outfit; + src: url('Outfit-Regular.ttf'); +} + +body{ + font-family: 'Outfit'; +} \ No newline at end of file