changed font style in pdfservice
Some checks failed
Gemini PR Review / Gemini PR Review (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Waiting to run
Laravel Larastan / larastan (pull_request) Waiting to run
Laravel Pint / pint (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Gemini PR Review / Gemini PR Review (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Waiting to run
Laravel Larastan / larastan (pull_request) Waiting to run
Laravel Pint / pint (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -1777,13 +1777,13 @@ class StickerPdfService
|
||||
|
||||
// $pdf->SetFont($element['font'], '', $element['size']);
|
||||
|
||||
// $font = $element['font'] ?? 'helvetica';
|
||||
// $fontSize = (float) ($element['size'] ?? 10);
|
||||
|
||||
$font = 'dejavusans';
|
||||
$font = $element['font'] ?? 'helvetica';
|
||||
$fontSize = (float) ($element['size'] ?? 10);
|
||||
|
||||
$pdf->SetFont($font, '', $fontSize);
|
||||
// $font = 'dejavusans';
|
||||
// $fontSize = (float) ($element['size'] ?? 10);
|
||||
|
||||
// $pdf->SetFont($font, '', $fontSize);
|
||||
|
||||
// if (
|
||||
// ($element['characteristics_type'] ?? '') == 'feed_address'
|
||||
|
||||
Reference in New Issue
Block a user