[TYPO3-v4] TYPO3 (all versions) with PHP 5.2.12 and GD Freetype version 2.3.7 + niceText

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri Jun 4 17:32:36 CEST 2010


Am 31.05.2010 17:23, schrieb Thomas "Thasmo" Deinhamer:
> Hello folks,
>
> it seems my webhoster made a PHP update or recompiled PHP 10 days ago.
> I'm not a specialist but in phpinfo() I found:
> "Build Date May 21 2010 05:32:13"
>
> Since last week (and maybe since May 21st) we have problems with GD and
> freetype which will not render text if we use 'niceText = 1'. Currently
> we disabled niceText so at least the text gets displayed.
>
> Does anybody of you have similar problems? We're not sure if this
> problem is related to the PHP update, but we didn't change the TYPO3
> source nor did we change anything else on our websites, but it happens
> for all TYPO3 websites on the server using 'niceText = 1'.
>
> In detail the images beeing rendered have the backgroundcolor of the
> font color. I tried to change several setting in the install tool but
> nothing really worked out.
>
> Any ideas?
>
> Thanks a lot,
> Thomas
>

Well, I finally got it running, but this is what I had to set:

$TYPO3_CONF_VARS['GFX']['gdlib_png'] = 1;

!!

Which generates PNGs only, no GIFs,
but at least it works. What's still weird,
is the image test '3: Scaling images - PNG to PNG, 150 pixels wide',
which resulst in a file 35K compared to the reference 6K.

Wondering how to compress the PNG file?

Thanks a lot,
Thomas


More information about the TYPO3-project-v4 mailing list