acorea

random thoughts and little goodies

Dienstag, September 16, 2008

fonts in pdf export

We are using the Zend_Pdf module from Zend Framework to create the PDFs for the contact and lead export functionality.

Sadly, the build-in type1 fonts of Zend_Pdf don't support unicode characters. But we have added the possiblity to include your own fonts (in truetype or opentype format) to display more exotic characters. I got some good results with the DejaVu font that came with OpenOffice on my Ubuntu system. This feature is part of the upcoming beta1 release.

To include your fonts, you have to add the following lines to the config.inc.php in the tine root dir and adjust the paths and embed setting:

'pdfexport' => array(
'fontpath' => '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf',
'fontpathbold' => '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf',
'fontembed' => true
)

Does anybody know a (tt or ot) font that has full unicode support?

Labels: , , , ,

Dienstag, September 02, 2008

tine 2.0 roadmap updated

we just updated the tine 2.0 roadmap and added more milestones and issues/features to it.

we plan to release the tine 2.0 beta1 (feature freeze) and beta2 (bugfixing, translations and missing unittests) in september.

there is already an outlook on future features (see section "on the horizon").

Labels: , , , ,