Open MathewBiddle opened 1 year ago
When converting the svg's to pdf's we loose the fancy fonts and background.
SVG:
PDF:
There are ways to embed fonts into svg, but I haven't figured it out. I think the trouble is Adobe only comes with 12 fonts by default.
Will need to fiddle with this function to make it work:
https://github.com/ioos/bio_mobilization_workshop/blob/6038447287365af88fec9216fb2a475edc4c6ed5/certificate/bin/make_certificate.py#L7-L10
It might be easier to just export to png instead of a pdf.
When converting the svg's to pdf's we loose the fancy fonts and background.
SVG:
PDF:
There are ways to embed fonts into svg, but I haven't figured it out. I think the trouble is Adobe only comes with 12 fonts by default.
Will need to fiddle with this function to make it work:
https://github.com/ioos/bio_mobilization_workshop/blob/6038447287365af88fec9216fb2a475edc4c6ed5/certificate/bin/make_certificate.py#L7-L10