I know how to do it to make it work in local environment, I added fonts .ttf to /vendor/mpdf/mpdf/ttfonts
, and then added
$this->fontdata = array(
"calibri" => array(
'R' => 'calibri.ttf',
'B' => 'calibrib.ttf',
)
...
to /vendor/mpdf/config-fonts.php
So now I can use Calibri font in my pdfs, but what I should to to use it properly not only locally and after composer update
?