[web2py] Re: FPDF add font not working

2013-07-08 Thread peibol
Thanks Alan! pdf.add_font('DejaVuSans', '', os.path.join(request.folder,'static','fonts/DejaVuSans.ttf'), uni=True) It obviously works. El lunes, 8 de julio de 2013 00:53:59 UTC+2, Alan Etkin escribió: > > I'ts supposed we can add fonts from whatever the folder we want to FPDF. >> For example,

[web2py] Re: FPDF add font not working

2013-07-07 Thread Alan Etkin
> > 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: > It seems that .add_font takes an o.s. path as argument. See http://code.google.com/p/pyfpdf/wiki/AddFont -- --- You received this mess