Bevor ich Fonts auswählen konnte, musste ich folgende Änderungen vornehmen:
1.
in dca/tl_settings.php den rot markierten Ausdruck hinzufügen:
Code:
$GLOBALS['TL_DCA']['tl_settings']['fields']['pc_font'] = array(
'label' => &$GLOBALS['TL_LANG']['tl_settings']['pc_font'],
'default' => 4,
'inputType' => 'fileTree',
'eval' => array('files'=>true,'filesOnly'=>true,'extensions'=>'ttf','fieldType'=>'radio')
);
´
2. in captcha.php eine Zeile (hier auskommentiert) durch die rot hervorgehobene Zeile ersetzen:
Code:
if($GLOBALS['TL_CONFIG']['pc_font'] && file_exists(TL_ROOT . '/' . $GLOBALS['TL_CONFIG']['pc_font']))
{
// statt: $this->strBackground = $GLOBALS['TL_CONFIG']['pc_font'];
$this->strFont = $GLOBALS['TL_CONFIG']['pc_font'];
}
Danach war es mir möglich, eigene Fonts zu verwenden.
Hoffe, ich konnte mit diesem Post weiterhelfen.
Ulrike
Lesezeichen