mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
chinese encoding
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ return [
|
||||
|
||||
Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
|
||||
|
||||
Barryvdh\DomPDF\ServiceProvider::class
|
||||
Barryvdh\DomPDF\ServiceProvider::class,
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'mode' => 'utf-8',
|
||||
'format' => 'A4',
|
||||
'author' => '',
|
||||
'subject' => '',
|
||||
'keywords' => '',
|
||||
'creator' => 'Laravel Pdf',
|
||||
'display_mode' => 'fullpage',
|
||||
'tempDir' => base_path('../temp/'),
|
||||
'font_path' => base_path('resources/fonts/'),
|
||||
'font_data' => [
|
||||
'examplefont' => [
|
||||
'R' => 'ExampleFont-Regular.ttf', // regular font
|
||||
'B' => 'ExampleFont-Bold.ttf', // optional: bold font
|
||||
'I' => 'ExampleFont-Italic.ttf', // optional: italic font
|
||||
'BI' => 'ExampleFont-Bold-Italic.ttf', // optional: bold-italic font
|
||||
'useOTL' => 0xFF, // required for complicated langs like Persian, Arabic and Chinese
|
||||
'useKashida' => 75, // required for complicated langs like Persian, Arabic and Chinese
|
||||
]
|
||||
// ...add as many as you want.
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user