<?php

return [
    'show_warnings' => false,   // Mostrar advertencias si es true
    'orientation' => 'portrait',
    'defines' => [
        "DOMPDF_FONT_DIR" => storage_path('fonts/'), // Fuentes predeterminadas
        "DOMPDF_FONT_CACHE" => storage_path('fonts/'),
        "DOMPDF_TEMP_DIR" => sys_get_temp_dir(),
        "DOMPDF_CHROOT" => base_path(),
        "DOMPDF_UNICODE_ENABLED" => true,
        "DOMPDF_ENABLE_FONT_SUBSETTING" => false,
        "DOMPDF_PDF_BACKEND" => "CPDF",
        "DOMPDF_DEFAULT_MEDIA_TYPE" => "screen",
        "DOMPDF_DEFAULT_PAPER_SIZE" => "a4",
        "DOMPDF_DEFAULT_FONT" => "serif",
        "DOMPDF_DPI" => 96,
        "DOMPDF_ENABLE_PHP" => false,
        "DOMPDF_ENABLE_REMOTE" => true,
        "DOMPDF_ENABLE_CSS_FLOAT" => false,
        "DOMPDF_ENABLE_JAVASCRIPT" => true,
        "DEBUGPNG" => false,
        "DEBUGKEEPTEMP" => false,
        "DEBUGCSS" => false,
        "DEBUG_LAYOUT" => false,
        "DEBUG_LAYOUT_LINES" => true,
        "DEBUG_LAYOUT_BLOCKS" => true,
        "DEBUG_LAYOUT_INLINE" => true,
        "DEBUG_LAYOUT_PADDINGBOX" => true,
        "DEBUG_LAYOUT_FIXED_BOXES" => true,
        "DEBUG_LAYOUT_DEBUG_BOXES" => true,
        "DOMPDF_ENABLE_HTML5PARSER" => true,
        "DOMPDF_ENABLE_FONTSUBSETTING" => false,
        "DOMPDF_FONT_HEIGHT_RATIO" => 1.1,
        "DEBUG" => false,
        "DEBUG_LOG" => false,
        "DEBUG_WELCOME" => false,
        "DEBUG_DUMP" => false,
        "DEBUG_KEEP_TEMP" => false,
    ]
];

