Bez popisu

dompdf_config.custom.inc.php 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. // Please refer to dompdf_config.inc.php for details on each configuration option.
  3. //define("DOMPDF_TEMP_DIR", "/tmp");
  4. //define("DOMPDF_FONT_DIR", DOMPDF_DIR."/lib/fonts/");
  5. //define("DOMPDF_FONT_CACHE", DOMPDF_DIR."/lib/fonts/");
  6. //define("DOMPDF_UNICODE_ENABLED", true);
  7. //define("DOMPDF_PDF_BACKEND", "PDFLib");
  8. //define("DOMPDF_DEFAULT_MEDIA_TYPE", "print");
  9. //define("DOMPDF_DEFAULT_PAPER_SIZE", "letter");
  10. //define("DOMPDF_DEFAULT_FONT", "serif");
  11. //define("DOMPDF_DPI", 72);
  12. //define("DOMPDF_ENABLE_CSS_FLOAT", true);
  13. //define("DOMPDF_ENABLE_JAVASCRIPT", false);
  14. //define("DEBUGPNG", true);
  15. //define("DEBUGKEEPTEMP", true);
  16. //define("DEBUGCSS", true);
  17. //define("DEBUG_LAYOUT", true);
  18. //define("DEBUG_LAYOUT_LINES", false);
  19. //define("DEBUG_LAYOUT_BLOCKS", false);
  20. //define("DEBUG_LAYOUT_INLINE", false);
  21. //define("DOMPDF_FONT_HEIGHT_RATIO", 1.0);
  22. //define("DEBUG_LAYOUT_PADDINGBOX", false);
  23. //define("DOMPDF_LOG_OUTPUT_FILE", DOMPDF_FONT_DIR."log.htm");
  24. //define("DOMPDF_ENABLE_HTML5PARSER", true);
  25. //define("DOMPDF_ENABLE_FONTSUBSETTING", true);
  26. // Authentication for the dompdf/www
  27. //define("DOMPDF_ADMIN_USERNAME", "user");
  28. //define("DOMPDF_ADMIN_PASSWORD", "password");
  29. /**
  30. * Attention!
  31. * The following settings may increase the risk of system exploit.
  32. * Do not change these settings without understanding the consequences.
  33. * Additional documentation is available on the dompdf wiki at:
  34. * https://github.com/dompdf/dompdf/wiki
  35. */
  36. //define("DOMPDF_CHROOT", DOMPDF_DIR);
  37. //define("DOMPDF_ENABLE_PHP", false);
  38. //define("DOMPDF_ENABLE_REMOTE", false);