[TYPO3-core] RFC: 6307, Install tool loops

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Sep 26 09:57:29 CEST 2007


Franz Holzinger schrieb:
> Hello Martin,
>> Franz Holzinger schrieb:
>>> This is a SVN patch request.
>>> Type: Bugfix
>>> Description:
>>> The install tool hangs in the 'Database Analyzer'.
>>> The function call of imagettftext hangs.
>>> $test = @imagettftext($im, t3lib_div::freetypeDpiComp(20), 0, 10, 20, 
>>> $text_color, PATH_t3lib."/fonts/vera.ttf", 'Testing Truetype support');
>>> Branches: Trunk
>>> Bugtracker http://bugs.typo3.org/view.php?id=6307
>>> Solution:
>>> Use the function imagecreatetruecolor before the call of imagettftext 
>>> instead of the function imagecreate. The use of this is recommended 
>>> by php.net.
>>
>> Your comments here http://qa.mandriva.com/show_bug.cgi?id=34013 show 
>> that there is another solution: use the bundled GD, not the external.
> Yes, fortunately this works.
> So lets change the RFC type to code cleanup to always use the function 
> imagecreatetruecolor, because this is recommended under typo3.net .
> Type: Code Cleanup

But the current code has many checks concerning color depth. And especially 
with transparency there are differences using 256 colours or "true" 
colours. I don't like the idea of changing the code for such a reason. IMHO 
the user should decide whetere he wants to work with true colour and 
downgrade or to work from start with 256 (or less) colours.

Masi

PS: I have a project that has been proted from 3.8 to 4.1 and - hey - I 
have not changed the TS and use the same GFX settinngs. Yet, the graphical 
menus are rendered differently.


More information about the TYPO3-team-core mailing list