I was trying to import a custom font (Calibri) in this directory
app/Resources/PHPPdf/Resources/fonts/Calibri
so I create a custom fonts.xml in
app/Resources/PHPPdf/Resources/config/
and change my config.yml inserting these two optional lines, as explained in the guide
ps_pdf:
fonts_file: "%kernel.root_dir%/Resources/PHPPdf/Resources/config/fonts.xml"
but it isn't seen at all because when it load my just modified detail.pdf.twig an error occur
Font "/Applications/XAMPP/xamppfiles/htdocs/myProject/vendor/psliwa/php-pdf/lib/PHPPdf/Resources/fonts/Calibri/bold.ttf" not found.
It's still trying to find the font in the old directory. How can I solve this?