1.4.6 PDF Generation and Fix

Lighttpd and PHP 5.6.20
php compile options
–with-curl --with-jpeg-dir --with-png-dir --with-readline --with-gd --enable-gd-native-ttf --with-freetype-dir --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mcrypt --enable-mbstring --with-zlib

All sorts of bizzare mpdf errors in the log files
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: outline-s /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 4017
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined offset: 4 /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 26987
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: outline-s /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 4017
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: outline-s /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 4017
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: outline-s /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 4017
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: outline-s /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 4017
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: outline-s /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 4017
ERROR - 2016-04-02 05:55:15 --> Severity: Notice --> Undefined index: direction /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 18807

Fix: Cloned https://github.com/mpdf/mpdf into application/helpers, deleted mpdf
One minor code compatibility issue found with the new version of mpdf
ERROR - 2016-04-02 06:11:37 --> Severity: Warning --> Missing argument 1 for mPDF::SetAutoFont(), called in /var/www_invoiceplane/application/helpers/mpdf_helper.php on line 25 and defined /var/www_invoiceplane/application/helpers/mpdf/mpdf.php 2028

https://mpdf.github.io/reference/mpdf-functions/setautofont.html

Removed the SetAutoFont() line as that seems to now be default behavior