ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This is a command line script to generate TCPDF fonts. More...
Go to the source code of this file.
Namespaces | |
com\tecnick\tcpdf | |
Configuration file for TCPDF. | |
Functions | |
foreach($tcpdf_include_dirs as $tcpdf_include_path) | showHelp () |
Display help guide for this command. More... | |
Variables | |
if(php_sapi_name() !='cli') | $tcpdf_include_dirs = array(realpath(dirname(__FILE__).'/../tcpdf.php'), '/usr/share/php/tcpdf/tcpdf.php', '/usr/share/tcpdf/tcpdf.php', '/usr/share/php-tcpdf/tcpdf.php', '/var/www/tcpdf/tcpdf.php', '/var/www/html/tcpdf/tcpdf.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf.php') |
if(!is_array($argv)) | $options = array('type'=>'', 'enc'=>'', 'flags'=>32, 'outpath'=>K_PATH_FONTS, 'platid'=>3, 'encid'=>1, 'addcbbox'=>false, 'link'=>false) |
$sopt = '' | |
$lopt = array() | |
$lopt [] = 'type:' | |
$inopt = getopt($sopt, $lopt) | |
foreach($inopt as $opt=> $val) if(empty($options['fonts'])) | if (!is_dir( $options[ 'outpath']) OR !is_writable( $options[ 'outpath'])) |
$errors = false | |
foreach ( $tcpdf_include_dirs as $tcpdf_include_path) showHelp | ( | ) |
Display help guide for this command.
Definition at line 60 of file tcpdf_addfont.php.
References $argv, data, EOD, exit, input, like(), n, and Sabre\Event\on().
$errors = false |
Definition at line 246 of file tcpdf_addfont.php.
$inopt = getopt($sopt, $lopt) |
Definition at line 166 of file tcpdf_addfont.php.
$lopt = array() |
Definition at line 153 of file tcpdf_addfont.php.
$lopt[] = 'type:' |
Definition at line 154 of file tcpdf_addfont.php.
if (!is_array( $argv)) $options = array('type'=>'', 'enc'=>'', 'flags'=>32, 'outpath'=>K_PATH_FONTS, 'platid'=>3, 'encid'=>1, 'addcbbox'=>false, 'link'=>false) |
Definition at line 137 of file tcpdf_addfont.php.
$sopt = '' |
Definition at line 140 of file tcpdf_addfont.php.
if (php_sapi_name() !='cli') $tcpdf_include_dirs = array(realpath(dirname(__FILE__).'/../tcpdf.php'), '/usr/share/php/tcpdf/tcpdf.php', '/usr/share/tcpdf/tcpdf.php', '/usr/share/php-tcpdf/tcpdf.php', '/var/www/tcpdf/tcpdf.php', '/var/www/html/tcpdf/tcpdf.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf.php') |
Definition at line 49 of file tcpdf_addfont.php.
foreach ( $options[ 'fonts'] as $font) if($errors) |
Definition at line 236 of file tcpdf_addfont.php.