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:
|
def svg2pdf(fname): |
|
drawing = svg2rlg(fname) |
|
outname = fname.replace(".svg", ".pdf") |
|
renderPDF.drawToFile(drawing, outname) |
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:
bio_mobilization_workshop/certificate/bin/make_certificate.py
Lines 7 to 10 in 6038447