MDL-47333 fix support for custom fonts in tcpdf