hartwigmedical / hmftools

Various algorithms for analysing genomics data
GNU General Public License v3.0
189 stars 58 forks source link

ACTIN-24: Use one instance of ReportResources to avoid duplicating fonts #381

Closed jbartletthmf closed 1 year ago

jbartletthmf commented 1 year ago

Also maximize PDF compression, though this didn't improve test file size.

Fonts are now final and accessed non-statically, which avoids concurrency concerns that could arise with a singleton. Test report size was reduced by 28% when reusing fonts.