Skip to content

Commit

Permalink
Merge pull request #2925 from input-output-hk/fix/ddw-985-missing-cha…
Browse files Browse the repository at this point in the history
…racter-in-pdf
  • Loading branch information
danielmain authored and lucas-barros committed Apr 25, 2022
1 parent 1ec8239 commit dabd060
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

### Fixes

- Fixed issue with missing character when copying address from PDF ([PR 2925](https://github.com/input-output-hk/daedalus/pull/2925))
- Sets minimum transaction fee to ada input field when tokens are removed ([PR 2918](https://github.com/input-output-hk/daedalus/pull/2918))
- Fixed spelling issues and typos ([PR 2915](https://github.com/input-output-hk/daedalus/pull/2915))
- Restored opacity for search icon when focused ([PR 2909](https://github.com/input-output-hk/daedalus/pull/2909))
Expand Down
Binary file removed source/common/assets/pdf/NotoSansMono-Regular.ttf
Binary file not shown.
Binary file added source/common/assets/pdf/RobotoMono-Regular.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions source/common/assets/pdf/fonts.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.ttf';
9 changes: 2 additions & 7 deletions source/main/ipc/generateAddressPDFChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ import type {
GenerateAddressPDFRendererRequest,
GenerateAddressPDFMainResponse,
} from '../../common/ipc/api';
// @ts-ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/NotoSa... Remove this comment to see the full error message
import fontRegularEn from '../../common/assets/pdf/NotoSans-Regular.ttf';
// @ts-ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/NotoSa... Remove this comment to see the full error message
import fontMediumEn from '../../common/assets/pdf/NotoSans-Medium.ttf';
// @ts-ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/arial-... Remove this comment to see the full error message
import fontUnicode from '../../common/assets/pdf/arial-unicode.ttf';
// @ts-ignore ts-migrate(2307) FIXME: Cannot find module '../../common/assets/pdf/NotoSa... Remove this comment to see the full error message
import fontMono from '../../common/assets/pdf/NotoSansMono-Regular.ttf';
import fontMono from '../../common/assets/pdf/RobotoMono-Regular.ttf';

export const generateAddressPDFChannel: // IpcChannel<Incoming, Outgoing>
MainIpcChannel<
export const generateAddressPDFChannel: MainIpcChannel<
GenerateAddressPDFRendererRequest,
GenerateAddressPDFMainResponse
> = new MainIpcChannel(GENERATE_ADDRESS_PDF_CHANNEL);
Expand Down

0 comments on commit dabd060

Please sign in to comment.