File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,12 +205,12 @@ public function signerNameImage(
205205 if ($ fonts ) {
206206 $ draw ->setFont ($ fonts [0 ]);
207207 } else {
208- $ fallbackFond = __DIR__ . '/../../vendor /mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf ' ;
208+ $ fallbackFond = __DIR__ . '/../../3rdparty/composer /mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf ' ;
209209 if (!file_exists ($ fallbackFond )) {
210210 $ this ->logger ->error ('No fonts available at system, and fallback font not found: ' . $ fallbackFond );
211211 throw new LibresignException ('No fonts available at system, and fallback font not found: ' . $ fallbackFond );
212212 }
213- $ draw ->setFont (__DIR__ . '/../../vendor /mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf ' );
213+ $ draw ->setFont (__DIR__ . '/../../3rdparty/composer /mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf ' );
214214 }
215215 if (!$ fontSize ) {
216216 $ fontSize = $ this ->getSignatureFontSize ();
Original file line number Diff line number Diff line change @@ -207,6 +207,6 @@ public static function providerSignerNameImage(): array {
207207 }
208208
209209 public function testHasFont (): void {
210- $ this ->assertFileExists ($ fallbackFond = __DIR__ . '/../../../../vendor /mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf ' );
210+ $ this ->assertFileExists ($ fallbackFond = __DIR__ . '/../../../../3rdparty/composer /mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf ' );
211211 }
212212}
You can’t perform that action at this time.
0 commit comments