I'ts supposed we can add fonts from whatever the folder we want to FPDF. For example, in the static/fonts folder that I've created for this purpose:
def numbers():
class MyFPDF(FPDF, HTMLMixin):
pass
pdf=MyFPDF()
pdf.add_page()
pdf.add_font('DejaVu', '', URL('static','fonts/DejaVuSans.ttf', scheme=True, host=True), uni=True)
pdf.set_font('DejaVuSans','B',12)
pdf.cell(40,100,"Hello")
response.headers['Content-Type']='application/pdf'
return pdf.output(dest='S')
And if I paste that URL in the browser I get the file...