[TYPO3-bugs] Install tool hangs because of ImageTTFText test

Franz Holzinger franz at fholzinger.com
Tue Sep 25 07:47:44 CEST 2007


Hello Dmitry,

>> But how should a patch be written for this?
> 
> The first question is: do we use imagettftext in the core? If not,
> replace it in Install tool and forget.

It is also used here:


1039:                           ImageTTFText($im,
t3lib_div::freetypeDpiComp($sF*$strCfg['fontSize']), $angle, $x, $y,
$colorIndex, $fontFile, $strCfg['str']);
697770  101 -rw-r--r--   1 franz    franz      102022 aoû 17 11:04
./t3lib/class.t3lib_stdgraphic.php


356:            imagettftext ($im, t3lib_div::freetypeDpiComp(10), 0,
$x, 8, $col, $font, $string);
357:            imagettftext ($im, t3lib_div::freetypeDpiComp(12), 0,
$x, 21, $col, $font, $string);
358:            imagettftext ($im, t3lib_div::freetypeDpiComp(14), 0,
$x, 36, $col, $font, $string);
359:            imagettftext ($im, t3lib_div::freetypeDpiComp(18), 0,
$x, 53, $col, $font, $string);
360:            imagettftext ($im, t3lib_div::freetypeDpiComp(24), 0,
$x, 74, $col, $font, $string);
674123   15 -rwxr-xr-x   1 franz    franz       13366 mai 11 13:40
./t3lib/thumbs.php


2441:           $test = @imagettftext($im,
t3lib_div::freetypeDpiComp(20), 0, 10, 20, $text_color,
PATH_t3lib."/fonts/vera.ttf", 'Testing Truetype support');
108941  206 -rwxr-xr-x   1 franz    franz      209470 sep 24 12:03
./typo3/sysext/install/mod/class.tx_install.php

I would appreciate if you sent this patch to the Core list ASAP.

- Franz


More information about the TYPO3-team-bugs mailing list