[TYPO3] gifbuilder --> font image replacement

JoH asenau info at cybercraft.de
Wed Jan 17 16:20:46 CET 2007


> I'm trying to create an image with custom font using GIFBUILDER, all i
> get is a red rectangle with no text whatsoever, i was expecting to see
> text "title" in blue letters. I tried using "value = title" instead of
> "text.field = title" but nothing happens. This is a code I scraped
> together from several different locations,  niceText is set to 0
> cause I read that  it might cause problems if set to 1. STAN0757.TTF
> is where it should be, so the problem is with text.field, right? What
> am I supposed to do?
>
> offset = 1,1

This is the bad guy ;-)
the Y value is the position of the baseline of the font.
Set it to some value which is higher than the font size value and you should
see some results.

offset = 1,13

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list