@@ -9,17 +9,12 @@ import type {
99 GenerateAddressPDFRendererRequest ,
1010 GenerateAddressPDFMainResponse ,
1111} from '../../common/ipc/api' ;
12- // @ts -ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/NotoSa... Remove this comment to see the full error message
1312import fontRegularEn from '../../common/assets/pdf/NotoSans-Regular.ttf' ;
14- // @ts -ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/NotoSa... Remove this comment to see the full error message
1513import fontMediumEn from '../../common/assets/pdf/NotoSans-Medium.ttf' ;
16- // @ts -ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/arial-... Remove this comment to see the full error message
1714import fontUnicode from '../../common/assets/pdf/arial-unicode.ttf' ;
18- // @ts -ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/NotoSa... Remove this comment to see the full error message
19- import fontMono from '../../common/assets/pdf/UbuntuMono-Regular.ttf' ;
15+ import fontMono from '../../common/assets/pdf/RobotoMono-Regular.ttf' ;
2016
21- export const generateAddressPDFChannel : // IpcChannel<Incoming, Outgoing>
22- MainIpcChannel <
17+ export const generateAddressPDFChannel : MainIpcChannel <
2318 GenerateAddressPDFRendererRequest ,
2419 GenerateAddressPDFMainResponse
2520> = new MainIpcChannel ( GENERATE_ADDRESS_PDF_CHANNEL ) ;
@@ -112,7 +107,7 @@ export const handleAddressPDFRequests = () => {
112107 } ) ;
113108 doc . moveDown ( ) ;
114109 // Address
115- doc . font ( fontBufferMono ) . fontSize ( 10 ) . text ( address , {
110+ doc . font ( fontBufferMono ) . fontSize ( 9 ) . text ( address , {
116111 align : 'center' ,
117112 } ) ;
118113
0 commit comments