- include more local fonts, such as Times New Roman and Arial (fixes #2170)

- remove embedding fonts to PDF as it wasn't doing anything
This commit is contained in:
Amruth Pillai
2025-01-25 00:47:39 +01:00
parent c7ae0e94d7
commit 9406d78653
4 changed files with 45 additions and 64 deletions

10
pnpm-lock.yaml generated
View File

@ -74,9 +74,6 @@ importers:
'@paralleldrive/cuid2':
specifier: ^2.2.2
version: 2.2.2
'@pdf-lib/fontkit':
specifier: ^1.1.1
version: 1.1.1
'@phosphor-icons/react':
specifier: ^2.1.7
version: 2.1.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
@ -2976,9 +2973,6 @@ packages:
'@paralleldrive/cuid2@2.2.2':
resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==}
'@pdf-lib/fontkit@1.1.1':
resolution: {integrity: sha512-KjMd7grNapIWS/Dm0gvfHEilSyAmeLvrEGVcqLGi0VYebuqqzTbgF29efCx7tvx+IEbG3zQciRSWl3GkUSvjZg==}
'@pdf-lib/standard-fonts@1.0.0':
resolution: {integrity: sha512-hU30BK9IUN/su0Mn9VdlVKsWBS6GyhVfqjwl1FjZN4TxP6cCw0jP2w7V3Hf5uX7M0AZJ16vey9yE0ny7Sa59ZA==}
@ -14607,10 +14601,6 @@ snapshots:
dependencies:
'@noble/hashes': 1.3.3
'@pdf-lib/fontkit@1.1.1':
dependencies:
pako: 1.0.11
'@pdf-lib/standard-fonts@1.0.0':
dependencies:
pako: 1.0.11