ILIAS
Release_4_4_x_branch Revision 61816
|
This is a command line script to generate TCPDF fonts. More...
Go to the source code of this file.
Namespaces | |
namespace | com\tecnick\tcpdf |
Configuration file for TCPDF. |
Functions | |
foreach($tcpdf_include_dirs as $tcpdf_include_path) | showHelp () |
Display help guide for this command. |
Variables | |
if(php_sapi_name()!= 'cli') | $tcpdf_include_dirs = array(realpath('../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'])) |
foreach ($options['fonts'] as $fontfile) |
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 convert(), exit, and n.
$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.
Referenced by ilRegistrationSettingsGUI\__buildAccessLimitationSelection(), ilTypicalLearningTimeInputGUI\__buildDaysSelect(), ilMDEditorGUI\__buildDaysSelect(), ilTypicalLearningTimeInputGUI\__buildMonthsSelect(), ilMDEditorGUI\__buildMonthsSelect(), FormMailCodesGUI\__construct(), XML_RPC2_Backend_Xmlrpcext_Client\__construct(), XML_RPC2_Backend_Php_Client\__construct(), XML_RPC2_Backend_Php_Server\__construct(), XML_RPC2_Backend_Xmlrpcext_Server\__construct(), XML_RPC2_Client\__construct(), XML_RPC2_CachedClient\__construct(), XML_RPC2_Server\__construct(), XML_RPC2_CachedServer\__construct(), Securimage\__construct(), ilAdvancedSearch\__getDifference(), ilObjPaymentSettingsGUI\__getVendors(), ilAccountRegistrationGUI\__initForm(), ilLinkChecker\__validateLinks(), HTTP_WebDAV_Server\_copymove(), Auth\_factory(), HTTP_WebDAV_Server\_get_ranges(), ilMDUtilSelect\_getBrowserSelect(), ilMDUtilSelect\_getContextSelect(), ilMDUtilSelect\_getCopyrightAndOtherRestrictionsSelect(), ilMDUtilSelect\_getCostsSelect(), MDB2_Driver_Manager_Common\_getCreateTableQuery(), ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getDurationSelect(), ilMDUtilSelect\_getFormatSelect(), ilMDUtilSelect\_getIntendedEndUserRoleSelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getInteractivityTypeSelect(), ilMDUtilSelect\_getLanguageSelect(), ilMDUtilSelect\_getLearningResourceTypeSelect(), ilMDUtilSelect\_getLocationTypeSelect(), ilAuthUtils\_getMultipleAuthModeOptions(), ilMDUtilSelect\_getOperatingSystemSelect(), Spreadsheet_Excel_Writer_Validator\_getOptions(), ilMDUtilSelect\_getPurposeSelect(), ilBMFTransport_HTTP\_getRequest(), ilMDUtilSelect\_getRoleSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), ilMDUtilSelect\_getStatusSelect(), ilMDUtilSelect\_getStructureSelect(), ilMDUtilSelect\_getTypicalAgeRangeSelect(), ilMDUtilSelect\_getTypicalLearningTimeSelect(), ilBMFBase\_makeEnvelope(), ilObject\_prepareCloneSelection(), ilContainerReferenceGUI\_prepareSelection(), ilBMFBase_Object\_raiseSoapFault(), ilBMFTransport_HTTP\_sendHTTP(), ilBMFTransport_HTTP\_sendHTTPS(), ilBMFBase\_serializeValue(), Spreadsheet_Excel_Writer_Worksheet\_writeUrlInternal(), Spreadsheet_Excel_Writer_Worksheet\_writeUrlWeb(), ilSurveyEvaluationGUI\addApprSelectionToToolbar(), ilCloudPluginFileTreeGUI\addDropZone(), ilDataCollectionDatatype\addFilterInputFieldToTable(), ilTable2GUI\addFilterItemByMetaType(), ilTestExpressPageObjectGUI\addQuestion(), ilObjTestGUI\addQuestionObject(), ilUserProfile\addStandardFieldsToForm(), ilDidacticTemplateGUI\appendToolbarSwitch(), Auth\applyAuthOptions(), ilPersonalSkillsGUI\assignMaterials(), ilObjStyleSettingsGUI\assignStylesToCatsObject(), ilCloudPluginUploadGUI\asyncUploadFile(), Auth\Auth(), Auth_Anonymous\Auth_Anonymous(), Auth_Container_RADIUS\Auth_Container_RADIUS(), Auth_Container_SOAP\Auth_Container_SOAP(), Auth_Container_SOAP5\Auth_Container_SOAP5(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilDataCollectionRecordListTableGUI\buildData(), ilRecurrenceInputGUI\buildMonthlyByMonthDaySelection(), ilObjTestGUI\buildPageViewToolbar(), ilCopyWizardExplorer\buildSelect(), ilObjTestDynamicQuestionSetConfigGUI\buildTaxonomySelectInputOptionJson(), ilDataCollectionNReferenceField\buildTemplate(), ilRecurrenceInputGUI\buildYearlyByDaySelection(), ilRecurrenceInputGUI\buildYearlyByMonthDaySelection(), ilCertificateGUI\certificateEditor(), Securimage\checkByCaptchaId(), ilContainer\cloneAllObject(), ilObjectGUI\cloneAllObject(), ilContainerGUI\cloneAllObject(), ilSoapUtils\cloneNode(), ilSurveyParticipantsGUI\codesObject(), Net_Socket\connect(), MDB2\connect(), ilSurveyConstraintsGUI\constraintForm(), ilDAVServer\COPY(), ilObjectCopyGUI\copyContainer(), ilSoapObjectAdministration\copyObject(), XML_RPC2_Server\create(), XML_RPC2_CachedServer\create(), XML_RPC2_Client\create(), XML_RPC2_CachedClient\create(), Auth_OpenID_MDB2Store\create_assoc_table(), MDB2_Driver_Manager_mysqli\createSequence(), MDB2_Driver_Manager_mysql\createSequence(), MDB2_Driver_Manager_mysql\createTable(), MDB2_Driver_Manager_mysqli\createTable(), MDB2_Driver_Manager_Common\createTable(), ilDB\createTable(), ilDAVServer\DELETE(), ilPCResourcesGUI\edit(), ilPCLoginPageElementGUI\edit(), ilPCTableGUI\editCellAlignment(), ilPCTableGUI\editCellStyle(), ilObjWikiGUI\editImportantPagesObject(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjTypeDefinitionGUI\editObject(), ilObjHelpSettingsGUI\editSettings(), ilObjNewsSettingsGUI\editSettings(), ilObjStyleSettingsGUI\editSystemStylesObject(), ilECSSettingsGUI\exportMappings(), ilAuthFactory\factory(), MDB2\factory(), ilTable2GUI\fillFooter(), ilLPCollectionSettingsTableGUI\fillRow(), ilUtil\formSelect(), ilObjTestGUI\formTimingObject(), ilDAVServer\GET(), ilCharSelectorConfig\getBlockOptions(), Title\getBrokenLinksFrom(), Securimage\getCaptchaId(), ilNotificationAdminSettingsForm\getChannelForm(), ilChatroomUser\getChatNameSuggestions(), ilECSMappingUtils\getCourseMappingFieldSelectOptions(), ilDAVServer\getDir(), ilNotificationAdminSettingsForm\getGeneralSettingsForm(), ilConsultationHourGroups\getGroupSelectOptions(), ilCalendarUtil\getHourSelection(), ilDataCollectionReferenceField\getHTML(), ilDataCollectionILIASRefField\getHTML(), ilFileUploadGUI\getHTML(), ilChart\getHTML(), ilRegistrationCodesTableGUI\getItems(), Title\getLinksTo(), ilLPTableBaseGUI\getMonthsFilter(), ilObjectTranslationGUI\getMultiLangForm(), ilTestParticipantData\getOptionArray(), ilPublicSectionSelector\getOutput(), ilShopPublicSectionSelector\getOutput(), ilSCORMExplorer\getOutput(), ilExplorer\getOutput(), ilPayMethods\getPayMethodsOptions(), ilECSCategoryMapping\getPossibleFields(), ilLPTableBaseGUI\getPossibleTypes(), SurveyMultipleChoiceQuestion\getPreconditionOptions(), SurveySingleChoiceQuestion\getPreconditionOptions(), SurveyMultipleChoiceQuestion\getPreconditionSelectValue(), SurveySingleChoiceQuestion\getPreconditionSelectValue(), SurveyMatrixQuestion\getPreconditionSelectValue(), ilOpenIdProviders\getProviderSelection(), ilDataCollectionRecord\getRecordFieldHTML(), ilDataCollectionRecord\getRecordFieldSingleHTML(), ilTrSummaryTableGUI\getSelCountryCodes(), ilDataCollectionNReferenceField\getSingleHTML(), Title\getTemplateLinksTo(), ilPageContentGUI\getTemplateOptions(), ilPCIIMTriggerEditorGUI\getToolbar(), ilImageMapEditorGUI\getToolbar(), ilNotificationAdminSettingsForm\getTypeForm(), TCPDF_STATIC\getUserPermissionCode(), HTML_Template_IT\HTML_Template_IT(), HTTP_WebDAV_Server\http_DELETE(), HTTP_WebDAV_Server\http_GET(), HTTP_WebDAV_Server\http_HEAD(), HTTP_WebDAV_Server\http_LOCK(), HTTP_WebDAV_Server\http_MKCOL(), HTTP_WebDAV_Server\http_PROPFIND(), HTTP_WebDAV_Server\http_PROPPATCH(), HTTP_WebDAV_Server\http_PUT(), HTTP_WebDAV_Server\http_UNLOCK(), ilBMFFault\ilBMFFault(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilECSSettingsGUI\imported(), ilECSSettingsGUI\importMappings(), ilObjMediaCastGUI\initAddCastItemForm(), ilRegistrationSettingsGUI\initAddCodesForm(), ilObjStyleSettingsGUI\initAddPageLayoutForm(), ilSetupGUI\initBasicSettingsForm(), ilObjPortfolioGUI\initBlogForm(), ilECSSettingsGUI\initCategoryMappingForm(), ilPageEditorGUI\initCharacteristicForm(), ilSetupGUI\initClientDbForm(), ilObjPortfolioTemplateGUI\initCopyPageFormOptions(), ilObjPortfolioGUI\initCopyPageFormOptions(), ilObjPortfolioGUI\initCreateForm(), ilSetupGUI\initDBSelectionForm(), ilObjectGUI\initDidacticTemplate(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilPDNewsTableGUI\initFilter(), ilTestQuestionBrowserTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilAccountCodesTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilLPTableBaseGUI\initFilter(), ilUserTableGUI\initFilter(), ilObjMailGUI\initForm(), ilDataCollectionRecordListViewdefinitionGUI\initForm(), ilPCTabsGUI\initForm(), ilPCBlogGUI\initForm(), ilBookingObjectGUI\initForm(), ilPCVerificationGUI\initForm(), ilPCMapGUI\initForm(), ilPCSkillsGUI\initForm(), ilDataCollectionRecordEditGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), ilObjCourseGroupingGUI\initForm(), ilDataCollectionFieldEditGUI\initForm(), ilObjUserGUI\initForm(), ilConsultationHoursGUI\initFormSequence(), ilObjSearchSettingsGUI\initFormSettings(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilSurveyEditorGUI\initHeadingForm(), ilObjTestGUI\initImportForm(), ilPCListGUI\initListForm(), ilAuthLoginPageEditorGUI\initLoginForm(), ilMailOptionsGUI\initMailOptionsForm(), ilPersonalSettingsGUI\initMailOptionsForm(), ilECSSettingsGUI\initMappingsForm(), ilPersonalProfileGUI\initPersonalDataForm(), ilPCBlogGUI\initPostingForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilPCTableGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilMDEditorGUI\initQuickEditForm(), ilObjRepositorySettingsGUI\initSettingsForm(), ilShopNewsGUI\initSettingsForm(), ilObjTaxonomyGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilObjStyleSheetGUI\initTagStyleForm(), ilObjStyleSheetGUI\initTemplateForm(), ilObjStyleSheetGUI\initTemplateGenerationForm(), ilSetupGUI\initTreeImplementationForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilCourseObjectivesGUI\initWizard(), ilPCQuestionGUI\insert(), ilRecurrenceInputGUI\insert(), ilSoapUtils\linkNode(), ilTestExportGUI\listExportFiles(), ilExportGUI\listExportFiles(), ilDataCollectionFieldListGUI\listFields(), ilFileSystemGUI\listFiles(), ilObjectOwnershipManagementGUI\listObjects(), ilPersonalSkillsGUI\listProfiles(), ilDataCollectionRecordListGUI\listRecords(), ilSkillSelfEvaluationGUI\listSelfEvaluations(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilDAVServer\LOCK(), ilObjAssessmentFolderGUI\logsObject(), ilObjExerciseGUI\membersObject(), ilDAVServer\MKCOL(), ilDAVServer\mountDir(), ilDAVServer\MOVE(), ilObjTestGUI\movePageFormObject(), Securimage\openDatabase(), ilLuceneAdvancedSearchFields\parseFieldQuery(), ilAdvancedMDRecordGUI\parseSearch(), PEAR_Error\PEAR_Error(), ilObjRoleGUI\permObject(), PEAR\popErrorHandling(), assClozeTestGUI\populateGapFormPart(), ilECSSettingsGUI\prepareFieldSelection(), ilCourseDefinedFieldDefinition\prepareSelectBox(), ilObjSCORMLearningModuleGUI\properties(), ilDAVServer\PROPFIND(), ilDAVServer\PROPPATCH(), PEAR\pushErrorHandling(), ilDAVServer\PUT(), ilDAVServer\PUTfinished(), ilObjSurveyQuestionPoolGUI\questionsObject(), PEAR\raiseError(), MDB2\raiseError(), ilECSSettingsGUI\released(), XML_RPC2_Backend_Xmlrpcext_Client\remoteCall___(), XML_RPC2_Backend_Php_Client\remoteCall___(), ilPortfolioPageGUI\renderTeaser(), assMultipleChoiceGUI\renderVariantsView(), assMatchingQuestionGUI\renderVariantsView(), ilAuthContainerECS\resetMailOptions(), ilLDAPAttributeMapping\save(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilPersonalSkillsGUI\selfEvaluation(), ilBMFTransport_SMTP\send(), ilBMFTransport_HTTP\send(), ilChatroomServerConnector\sendMessage(), PEAR\setErrorHandling(), ilAdvancedSearch\setOptions(), ilDataCollectionRecordViewGUI\setOptions(), MDB2\setOptions(), HTML_Template_IT\setOptions(), ilObjTest\setResultsPresentationOptionsByArray(), ilObjTest\setScoringFeedbackOptionsByArray(), ilObjectGUI\setSubObjects(), ilWorkspaceAccessGUI\share(), ilMailingListsGUI\showAssignmentForm(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjSCORM2004LearningModuleGUI\showLearningObjectivesAlignment(), ilDAVServer\showMountInstructions(), ilObjExerciseGUI\showParticipantObject(), ilObjContentObjectGUI\showTooltipList(), MDB2\singleton(), Auth\staticCheckAuth(), PEAR\staticPopErrorHandling(), PEAR\staticPushErrorHandling(), OLE_ChainedBlockStream\stream_open(), Structures_BibTex\Structures_BibTex(), assQuestionGUI\suggestedsolution(), Auth_OpenID_Parse\tagMatcher(), ilLDAPServer\toPearAuthArray(), ilDAVServer\UNLOCK(), ilLDAPSettingsGUI\userMappingToolbar(), ilValidatorAdapter\validate(), and ilObjLanguageExtGUI\viewObject().
$sopt = '' |
Definition at line 140 of file tcpdf_addfont.php.
if (php_sapi_name()!= 'cli') $tcpdf_include_dirs = array(realpath('../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 $fontfile) |
Definition at line 240 of file tcpdf_addfont.php.
foreach ($inopt as $opt=> $val) if (empty($options['fonts'])) if(!is_dir($options['outpath']) OR!is_writable($options['outpath'])) |
Definition at line 232 of file tcpdf_addfont.php.