Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/resources/views/invoices/pdf/invoice_pdf_css.blade.php
Назад
<style> @font-face { font-family: 'THSarabunNew'; font-style: normal; font-weight: normal; src: url("{{ storage_path('fonts/THSarabunNew.ttf') }}") format('truetype'); } @font-face { font-family: 'THSarabunNew'; font-style: normal; font-weight: bold; src: url("{{ storage_path('fonts/THSarabunNew_Bold.ttf') }}") format('truetype'); } @font-face { font-family: 'THSarabunNew'; font-style: italic; font-weight: bold; src: url("{{ storage_path('fonts/THSarabunNew_Bold_Italic.ttf') }}") format('truetype'); } @font-face { font-family: 'THSarabunNew'; font-style: italic; font-weight: bold; src: url("{{ storage_path('fonts/THSarabunNew_Italic.ttf') }}") format('truetype'); } @if($invoiceSetting->locale == 'vi') @font-face { font-family: 'BeVietnamPro'; font-style: normal; font-weight: normal; src: url("{{ storage_path('fonts/BeVietnamPro-Black.ttf') }}") format('truetype'); } @font-face { font-family: 'BeVietnamPro'; font-style: italic; font-weight: normal; src: url("{{ storage_path('fonts/BeVietnamPro-BlackItalic.ttf') }}") format('truetype'); } @font-face { font-family: 'BeVietnamPro'; font-style: italic; font-weight: bold; src: url("{{ storage_path('fonts/BeVietnamPro-bold.ttf') }}") format('truetype'); } @endif @php $font = match ($invoiceSetting->locale) { 'ja' => 'ipag', 'hi' => 'hindi', 'th' => 'THSarabunNew', 'vi' => 'BeVietnamPro', default => $invoiceSetting->is_chinese_lang ? 'SimHei' : 'Verdana', }; @endphp @if($invoiceSetting->is_chinese_lang) @font-face { font-family: SimHei; /*font-style: normal;*/ /*font-weight: bold;*/ src: url('{{ asset('fonts/simhei.ttf') }}') format('truetype'); } body { font-weight: normal !important; } @endif * { font-family: {{$font}}, DejaVu Sans, sans-serif; } </style>
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка