unicode TTF (for fpdf generator)


does anyone tried to acomplish example I use web2py, which includes pyfpdf, but unicode for word like "Ąžuolas" is problematic,

there is recipy u"Hélló wórld".encode('latin-1') - but for "Ąžuolas" it gives error

so I hopw TTF way would be better - but I'd need to have fonts installed on system.


just needed to create directory / > home > jurgis > web2py > gluon > contrib > fpdf > font

and place needed ttf files insited it :)

Thanks for actually posting the solution as opposed to just saying "solved it!" - it makes the forums a better resource.

And welcome to our PA community!!