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,
>
> 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
2 matches
Mail list logo