[TYPO3] gifbuilder / GMENU font height problem

Peter typo3 at peter-b.org
Sat Mar 10 10:12:18 CET 2007


> In the absence of useful info, I ended up creating a text object that 
> uses the full height of the font by having a range of characters hidden 
> using an offset. Possibly not the most elegant solution, but works for me.

Which of course didn't take into account multi-line items, so I changed 
it to this:

lib.mainNav {
   1 = GMENU
   1 {
     NO = 1
     NO {
       10 = TEXT
       10 {
         text.field = title
         fontFile = fileadmin/fonts/CGOR65W.TTF
         fontColor = #ffffcc
         fontSize = 18
         offset = 5,20
         align = left
         niceText = 1
       }
       1 < .10
       1.text.wrap = QTPqtp | qtpQTP
       1.offset = 200,200
       XY = 200,[1.h]+10
     }
   }
}

You get the idea....

Peter.


More information about the TYPO3-english mailing list