Look at/fix the file size of our pdf’s due to embedded fonts
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
Per @thorwolpert "our PDF templates have the the BCGov fonts embedded in them, and they are eating a bunch of storage. It took the notification service offline and backed up into our other systems. Can we look at options? I know it’s a fork of one of the GoogleFonts, but do we really need to use it?"
This ticket is to investigate and hopefully implement an alternative approach to font handling in our pdfs to reduce file size.
Proposed assessment/investigation plan (test the impact/effects of the following):
1. Remove any unused font files from the PDF's (Dejavu?)
2. Options
_Plan A (POR)_
Work with the Relationship's team (or implement their solution?) to use the gov't weasyprint server
_Plan B_
Test using the Google Noto Sans font family instead of BC Sans (matching the same font sizes and weights as currently used)
Use Arial font family as the back up system font for users without an internet connection or link to Google fonts cannot be made (matching the same font sizes and weights as currently used)
3.Assess the technical feasibility of the approach, effect on PDF file size, and the appearance and performance of PDF's (with and without internet connection)
4. Change as necessary
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.