No customized fonts after upgrade to 1.4.10?

Hi,

I have upgraded to 1.4.10 and I can’t get my custom font works.

Last time, after upgrade to 1.4.8, I had edit the file application/helpers/mpdf/config_fonts.php and add on the right place this part en code :

    "roboto" => array(
      'R' => "RobotoCondensed-Regular.ttf",
      'B' => "RobotoCondensed-Bold.ttf",
      'I' => "RobotoCondensed-Italic.ttf",
      'BI' => "RobotoCondensed-BoldItalic.ttf",
    ),

    "lato" => array(
      'R' => "Lato-Regular.ttf",
      'B' => "Lato-Bold.ttf",
      'I' => "Lato-Italic.ttf",
      'BI' => "Lato-BoldItalic.ttf",
    ),

    "FontAwesome" => array(
      'R' => "fontawesome-webfont.ttf",
    ),

This time the file was not touched by the upgrade and my code was here.
But my custom font (roboto) is not used correctly.

What did I miss this time ?
Is something changed inside the the ZUGFeRD implementation for PDF files (as described on changelog) which block the used of new fonts ?

Thank for your help :slight_smile:

I dig deeper on this issue, without find the key to make it works again… a little help will be usefull :slight_smile:

Custom fonts and configs have to be placed in the /vendor/kovah/mpdf/ directory.

You can delete the /application/helpers/mpdf/ directory.

Thanks, it’s work (obviously !) :slight_smile: