pdf.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. return
  3. [
  4. 'mode' => 'utf-8',
  5. 'format' => 'A4',
  6. 'author' => '',
  7. 'subject' => '',
  8. 'keywords' => '',
  9. 'creator' => 'Laravel Pdf',
  10. 'display_mode' => 'fullpage',
  11. 'tempDir' => base_path('temp/'),
  12. 'font_path' => base_path('public/assets/fonts/'),
  13. 'font_data' => [
  14. 'roboto' => [
  15. 'R' => 'Roboto-Regular.ttf', // regular font
  16. 'useOTL' => 0xFF, // required for complicated langs like Persian, Arabic and Chinese
  17. 'useKashida' => 75, // required for complicated langs like Persian, Arabic and Chinese
  18. ],
  19. 'hindsiliguri' => [
  20. 'R' => 'HindSiliguri-Regular.ttf', // regular font
  21. 'useOTL' => 0xFF, // required for complicated langs like Persian, Arabic and Chinese
  22. 'useKashida' => 75, // required for complicated langs like Persian, Arabic and Chinese
  23. ],
  24. 'arnamu' => [
  25. 'R' => 'arnamu.ttf', // regular font
  26. 'useOTL' => 0xFF, // required for complicated langs like Persian, Arabic and Chinese
  27. 'useKashida' => 75, // required for complicated langs like Persian, Arabic and Chinese
  28. ],
  29. 'varelaround' => [
  30. 'R' => 'VarelaRound-Regular.ttf', // regular font
  31. 'useOTL' => 0xFF, // required for complicated langs like Persian, Arabic and Chinese
  32. 'useKashida' => 75, // required for complicated langs like Persian, Arabic and Chinese
  33. ],
  34. 'hanuman' => [
  35. 'R' => 'Hanuman-Regular.ttf', // regular font
  36. 'useOTL' => 0xFF, // required for complicated langs like Persian, Arabic and Chinese
  37. 'useKashida' => 75, // required for complicated langs like Persian, Arabic and Chinese
  38. ],
  39. 'kanit' => [
  40. 'R' => 'Kanit-Regular.ttf', // regular font
  41. ],
  42. ]
  43. ];