Font manager

Installed fonts

$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

Install new fonts

Name
Normal
Bold
Bold italic
Italic