mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.7 KiB
PHTML
41 lines
1.7 KiB
PHTML
2 years ago
|
<?php
|
||
|
return [
|
||
|
'mode' => '',
|
||
|
'format' => 'A4',
|
||
|
'default_font_size' => '12',
|
||
|
'default_font' => 'arial',
|
||
|
'margin_left' => 10,
|
||
|
'margin_right' => 10,
|
||
|
'margin_top' => 10,
|
||
|
'margin_bottom' => 10,
|
||
|
'margin_header' => 0,
|
||
|
'margin_footer' => 0,
|
||
|
'orientation' => 'P',
|
||
|
'title' => config('app.name'),
|
||
|
'author' => '',
|
||
|
'watermark' => '',
|
||
|
'show_watermark' => false,
|
||
|
'show_watermark_image' => false,
|
||
|
'watermark_font' => 'sans-serif',
|
||
|
'display_mode' => 'fullpage',
|
||
|
'watermark_text_alpha' => 0.1,
|
||
|
'watermark_image_path' => '',
|
||
|
'watermark_image_alpha' => 0.2,
|
||
|
'watermark_image_size' => 'D',
|
||
|
'watermark_image_position' => 'P',
|
||
|
'auto_language_detection' => false,
|
||
|
'temp_dir' => rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR),
|
||
|
'pdfa' => false,
|
||
|
'pdfaauto' => false,
|
||
|
'use_active_forms' => false,
|
||
|
'custom_font_dir' => base_path('resources/fonts/vazir/'), // don't forget the trailing slash!
|
||
|
'custom_font_data' => [
|
||
|
'Arial' => [ // must be lowercase and snake_case
|
||
|
'R' => 'Arial.ttf', // regular font
|
||
|
// 'B' => 'ARIALMTEXTRABOLD.ttf', // optional: bold font
|
||
|
// 'I' => 'ARIALMTLIGHTITALIC.ttf', // optional: italic font
|
||
|
// 'BI' => 'ARIALMTNARROWBOLDITALIC.ttf' // optional: bold-italic font
|
||
|
]
|
||
|
]
|
||
|
];
|