Skip to content

Commit

Permalink
[DDW-552] Apply small font for address on the exported pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
topseniors committed Mar 2, 2021
1 parent 1f5b713 commit e53a2cc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions source/main/ipc/generateAddressPDFChannel.js
Expand Up @@ -115,14 +115,10 @@ export const handleAddressPDFRequests = () => {
doc.moveDown();

// Address
doc
.font(fontBufferMono)
.fontSize(19)
.text(address, {
lineBreak: false,
width: width - 60,
characterSpacing: 1.5,
});
doc.font(fontBufferMono).fontSize(5).text(address, {
align: 'center',
characterSpacing: 1,
});

if (note) {
doc.moveDown();
Expand Down

0 comments on commit e53a2cc

Please sign in to comment.