Topic: Changing default font for documents in FA - instructions
Hi Guys
I wanted a narrower, modern font to my FA documents, in particular the invoices where I was running out of room.
I found a free font called 'Tuffy' which met the bill, and converted it to the required .php and .z formats using TCPDF. If you want to use it, to save you doing the converting, I've attached the 3 font files you need (although I think the .afm is optional).
If you do a search in this foum
To use this new font:
1) Put the 3 font files in ./reporting/fonts
tuffy.php, tuffy.z and tuffy.afm
2) Update the ./reporting/includes/class.pdf.inc file as follows:
Around line 119, change helvetica to tuffy so you end up with:
// p2409 was helvetica, now tuffy.
$this->FontFamily = 'tuffy';
$this->FontStyle = '';
$this->FontSizePt = 12;