Skip to content

Commit

Permalink
added secondary font Libre Baskerville in birth certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
tareq89 committed Nov 20, 2024
1 parent 415a3b8 commit a779fbd
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 59 deletions.
10 changes: 5 additions & 5 deletions src/api/certificates/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export async function certificateHandler(request: Request, h: ResponseToolkit) {
},
svgUrl: '/api/countryconfig/certificates/birth-certificate.svg',
fonts: {
'Noto Sans': {
normal: '/api/countryconfig/fonts/NotoSans-Regular.ttf',
bold: '/api/countryconfig/fonts/NotoSans-Bold.ttf',
italics: '/api/countryconfig/fonts/NotoSans-Regular.ttf',
bolditalics: '/api/countryconfig/fonts/NotoSans-Regular.ttf'
'Libre Baskerville': {
normal: '/api/countryconfig/fonts/LibreBaskerville-Regular.ttf',
bold: '/api/countryconfig/fonts/LibreBaskerville-Bold.ttf',
italics: '/api/countryconfig/fonts/LibreBaskerville-Italic.ttf',
bolditalics: '/api/countryconfig/fonts/LibreBaskerville-Regular.ttf'
}
}
},
Expand Down
Loading

0 comments on commit a779fbd

Please sign in to comment.