PDF: fonts and unicode support

PDF generation -specially if the intended users are from all around the world- can sometimes be tricky.

We use the dompdf library which, essentially, turns any html-css3 formatted page into a decent pdf, with some limitations.

So our pdf generator has to "map" somehow the font-families defined in our html-css3 to font files that can be used to generate a pdf. Also, these fonts need to be unicode friendly for those of you who use non-latin character set.

After lots and lots (and I mean it) of trial and error, we've finally equipped siwapp with the dejavu fonts, and liberation because they are free and unicode.

Here you have the doc that we have written on all topics related to pdf, fonts and unicode