Project

General

Profile

Bug #23933 ยป bug_0016240.patch

Administrator Admin, 2010-11-03 17:21

View differences:

class.tslib_gifbuilder.php 2010-11-03 17:16:40.000000000 +0100
* @access private
*/
function checkTextObj($conf) {
$cObj =t3lib_div::makeInstance('tslib_cObj');
$cObj->start($this->data);
$conf['fontFile']=trim($cObj->stdWrap($conf['fontFile'], $conf['fontFile.']));
$conf['fontFile']=$this->checkFile($conf['fontFile']);
if (!$conf['fontFile']){$conf['fontFile']='t3lib/fonts/nimbus.ttf';}
if (!$conf['iterations']){$conf['iterations'] = 1;}
if (!$conf['fontSize']){$conf['fontSize']=12;}
......
$conf['angle']=0;
}
if (!isset($conf['antiAlias'])){$conf['antiAlias']=1;}
$cObj =t3lib_div::makeInstance('tslib_cObj');
$cObj->start($this->data);
$conf['fontColor'] = trim($cObj->stdWrap($conf['fontColor'], $conf['fontColor.']));
$conf['text']=$cObj->stdWrap($conf['text'],$conf['text.']);
    (1-1/1)