[TYPO3-english] GMENU Font Error

Bernhard Kraft kraftb at kraftb.at
Mon Oct 12 09:33:32 CEST 2009


Jamie Gorst schrieb:

>   10.niceText = 0
>   10.antialias = 1

First of all: It's "antiAlias" not "antialias" you'll have to take of
upper and lower case. I guess such a typo happens now and then. I also
make such mistakes quite often *grrr*

In your case "antialias = 1" anti-aliasing will be enabled, as the
default is to be "on". So you could try using "antiAlias = 0" which will
disable anti-aliasing ...


I took a look at your page. Last time it just didn't load. I have a few
ideas how you could get the images rendered better:

format = png
or
format = jpg

could help, as those allow more than the 256 colors of the GIF, it isn't
really obvious that this could help in your case, as you are only having
a foreground and background color - but it could help at the transitions
from each letter to the background.

Did you try to set "png_truecolor" in the Install Tool. This is a
feature I implemented some years ago, and AFAIR it takes care the image
is processed as truecolor (24bit) through the whole rendering process.


You could also try to use "antiAlias" in conjunction with "iterations"
which will print the Text more bold. Or to set "antiAlias = 0" and use
"niceText = 1" instead.


If what you want to achieve is a "pixeled" font, you could probably also
try another font than Arial, but some pixel-font (just an idea).


Always take care to clear the generated images in typo3temp/ and clear
both caches. Sometimes it took me hours to find out how and why images
don't get generated correctly, just to find out that still the old
cached images where shown.


greets,
Bernhard


More information about the TYPO3-english mailing list