Bug #25189 » 17779.diff
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php (revision ) | ||
---|---|---|
foreach ($sKeyArray as $theKey) {
|
||
$theValue=$this->setup[$theKey];
|
||
|
||
if (intval($theKey) && $conf=$this->setup[$theKey.'.']) {
|
||
if (intval($theKey) && $conf = $this->setup[$theKey.'.']) {
|
||
switch($theValue) {
|
||
case 'TEXT':
|
||
case 'IMAGE':
|
||
... | ... | |
foreach($sKeyArray as $theKey) {
|
||
$theValue=$this->setup[$theKey];
|
||
if (intval($theKey) && $conf=$this->setup[$theKey.'.']) {
|
||
t3lib_div::debug($conf);
|
||
$isStdWrapped = array();
|
||
foreach($conf as $key => $value) {
|
||
$parameter = rtrim($key,'.');
|
||
... | ... | |
$this->makeOutline($this->im,$conf['outline.'],$this->workArea,$conf);
|
||
}
|
||
$conf['imgMap']=1;
|
||
t3lib_div::debug($conf);
|
||
$this->makeText($this->im,$conf,$this->workArea);
|
||
}
|
||
break;
|
||
... | ... | |
* @access private
|
||
*/
|
||
function checkTextObj($conf) {
|
||
$isStdWrapped = array();
|
||
foreach($conf as $key => $value) {
|
||
$parameter = rtrim($key,'.');
|
||
if(!$isStdWrapped[$parameter] && isset($conf[$parameter.'.'])) {
|
||
$conf[$parameter] = $this->cObj->stdWrap($conf[$parameter], $conf[$parameter.'.']);
|
||
$isStdWrapped[$parameter] = 1;
|
||
}
|
||
}
|
||
$conf['fontFile']=$this->checkFile($conf['fontFile']);
|
||
if (!$conf['fontFile']){$conf['fontFile']='t3lib/fonts/nimbus.ttf';}
|
||
if (!$conf['iterations']){$conf['iterations'] = 1;}
|