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, 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 message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to