[TYPO3] Gifbuilder, Bug or a feature?

Andreas Jonderko anj2j at yahoo.de
Sun Jun 8 11:57:30 CEST 2008


Hello All!

I was just playing with Gifbuilder, and was about to going crazy, 
because i don't saw my generated fonts-gfx. All the tests are going well 
in typo3-backend, but as a result, i saw only my background color and 
the width, that was generated.

After some time, i play with the offset parameter, and voila, i saw the 
font. So i think the offset is wrong?!

Here my working and not working tests (watch out for the offset 
parameter). My question at least is, why do i have to set the Y offset 
to my height (min) , to see my generated font?!

Best regards!

NOT WORKING:

       page.5 = IMAGE
       page.5 {
           file = GIFBUILDER
           file {
               XY = [10.w] + 400, [10.h] + 100
               backColor = #FFFFFF
               10 = TEXT
               10 {
                   text = _H_a_l_l_o_W_o_r_l_d
                   fontSize = 10
                   fontColor = #000000
               }
           }
       }


WORKING:

       page.5 = IMAGE
       page.5 {
           file = GIFBUILDER
           file {
               XY = [10.w] + 400, [10.h] + 100
               backColor = #FFFFFF
               10 = TEXT
               10 {
                   text = _H_a_l_l_o_W_o_r_l_d
                   fontSize = 10
                   fontColor = #000000
                   offset = 0,[10.h]
               }
           }
       }



More information about the TYPO3-english mailing list