Because:
* We want to include more information in the recovery key file, and rendering for localized content in .txt format was inconsistent accross apps and platforms.
This commit:
* Add react-pdf library and associated dependencies for client-side PDF generation
* Add DownloadRecoveryKeyPDF component to handle PDF generation and download
* Create RecoveryKeyPDF with styling and l10n
* Update tests for recovery key
* Add pdf-parse library to test PDF content with Playwright
* Add font assets to fxa-settings for PDF creation
* Remove fonts from CDN assets folder (no longer needed)
* Use mono font for account recovery key in React app and PDF to help user differentiate between similar characters such as O and 0
Closes #FXA-7223
Because:
* We need more fonts to correctly generate PDFs in zh-TW and pa-IN
This commit:
* Add new Noto Sans TC font files to assets to support traditional chinese
* Remove Sans font for pa-IN (did not work) and add serif
Issue #FXA-7223
Because:
* Fonts need to be available from CDN for client-side PDF generation
This commit:
* Adds font files to support basic font weights for fxa's supported languages
* Add font files to asset upload script
* Add documentation about font files
Issue #FXA-7223
Because:
- Some pdfs in assets/legal were out of date or recently added
locales were missing.
This commit:
- Replaces existing pdfs in assets/legal with those generated in
in the mozilla/legal-docs repository, `prod` branch.
- Adds missing locale pdfs.
Closes #
Because:
- Subscription Services is prepareing for initial release
This commit:
- Adds initial set of Subscription Services legal documents.
Closes #FXA-6036
Because:
* certain fonts were missing which caused ru, ja, zh-CH legal docs for MDN plus to render
incorrectly
This commit:
* replaces the PDFs with properly rendered documents
Closes #fxa-5560