Setup

System Configuration

array( "required" => "5.0", "value" => phpversion(), "result" => version_compare(phpversion(), "5.0"), ), "DOMDocument extension" => array( "required" => true, "value" => phpversion("DOM"), "result" => class_exists("DOMDocument"), ), "PCRE" => array( "required" => true, "value" => phpversion("pcre"), "result" => function_exists("preg_match"), ), "Zlib" => array( "required" => true, "value" => phpversion("zlib"), "result" => function_exists("gzcompress"), "fallback" => "Recommended to compress PDF documents", ), "MBString extension" => array( "required" => true, "value" => phpversion("mbstring"), "result" => function_exists("mb_send_mail"), // Should never be reimplemented in dompdf "fallback" => "Recommended, will use fallback functions", ), "GD" => array( "required" => true, "value" => phpversion("gd"), "result" => function_exists("imagecreate"), "fallback" => "Required if you have images in your documents", ), "APC" => array( "required" => true, "value" => phpversion("apc"), "result" => function_exists("apc_fetch"), "fallback" => "Recommended for better performances", ), ); ?> $server_config) { ?>
Required Present
"> No. ".$server_config["fallback"].""; } ?>

DOMPDF Configuration

array( "desc" => "Root directory of DOMPDF", "success" => "read", ), "DOMPDF_INC_DIR" => array( "desc" => "Include directory of DOMPDF", "success" => "read", ), "DOMPDF_LIB_DIR" => array( "desc" => "Third-party libraries directory of DOMPDF", "success" => "read", ), "DOMPDF_FONT_DIR" => array( "desc" => "Additional fonts directory", "success" => "read", ), "DOMPDF_FONT_CACHE" => array( "desc" => "Font metrics cache", "success" => "write", ), "DOMPDF_TEMP_DIR" => array( "desc" => "Temporary folder", "success" => "write", ), "DOMPDF_CHROOT" => array( "desc" => "Restricted path", "success" => "read", ), "DOMPDF_UNICODE_ENABLED" => array( "desc" => "Unicode support (thanks to additionnal fonts)", ), "TTF2AFM" => array( "desc" => "Path to the ttf2afm executable", "success" => "read", ), "DOMPDF_PDF_BACKEND" => array( "desc" => "Backend library that makes the outputted file (PDF, image)", "success" => "backend", ), "DOMPDF_DEFAULT_MEDIA_TYPE" => array( "desc" => "Default media type (print, screen, ...)", ), "DOMPDF_DEFAULT_PAPER_SIZE" => array( "desc" => "Default paper size (A4, letter, ...)", ), "DOMPDF_DEFAULT_FONT" => array( "desc" => "Default font, used if the specified font in the CSS stylesheet was not found", ), "DOMPDF_DPI" => array( "desc" => "DPI scale of the document", ), "DOMPDF_ENABLE_PHP" => array( "desc" => "Inline PHP support", ), "DOMPDF_ENABLE_JAVASCRIPT" => array( "desc" => "Inline JavaScript support", ), "DOMPDF_ENABLE_REMOTE" => array( "desc" => "Allow remote stylesheets and images", "success" => "remote", ), "DEBUGPNG" => array( "desc" => "Debug PNG images", ), "DEBUGKEEPTEMP" => array( "desc" => "Keep temporary image files", ), "DEBUGCSS" => array( "desc" => "Debug CSS", ), "DEBUG_LAYOUT" => array( "desc" => "Debug layout", ), "DEBUG_LAYOUT_LINES" => array( "desc" => "Debug text lines layout", ), "DEBUG_LAYOUT_BLOCKS" => array( "desc" => "Debug block elements layout", ), "DEBUG_LAYOUT_INLINE" => array( "desc" => "Debug inline elements layout", ), "DEBUG_LAYOUT_PADDINGBOX" => array( "desc" => "Debug padding boxes layout", ), "DOMPDF_LOG_OUTPUT_FILE" => array( "desc" => "The file in which dompdf will write warnings and messages", "success" => "write", ), "DOMPDF_FONT_HEIGHT_RATIO" => array( "desc" => "The line height ratio to apply to get a render like web browsers", ), "DOMPDF_ENABLE_CSS_FLOAT" => array( "desc" => "Enable CSS float support (experimental)", ), ); ?> $value) { ?>
Config name Value Description Status
>

Installed fonts for the Cpdf Backend

$variants) { ?> $path) { if ($i > 0) { echo ""; } echo " "; foreach ($extensions as $ext) { $v = ""; $class = ""; if (is_readable("$path.$ext")) { // if not cache file if (strpos($ext, ".php") === false) { $class = "ok"; $v = $ext; } // cache file else { // check if old cache format $content = file_get_contents("$path.$ext", null, null, null, 50); if (strpos($content, '$this->')) { $v = "DEPREC."; } else { ob_start(); $d = include("$path.$ext"); ob_end_clean(); if ($d == 1) $v = "DEPREC."; else { $class = "ok"; $v = $d["_version_"]; } } } } echo ""; } echo ""; $i++; } ?>
Font family Variants File versions
TTF AFM AFM cache UFM UFM cache
(default)'; ?>
$name : $path
$v