[Typo3-dev] (From User list) GPVar to fontSize in GIFBUILDER

dan frost dan at danfrost.co.uk
Sat Jun 28 19:43:44 CEST 2003


I tried asking this on the user list, but had no success. If anyone could help, I'd be very pleased.



=====================
Hello all,

I'm trying to build an extension to display all the fonts on the server 
(for our designers). I've built a form with three fields: text_input, 
font_size, and font_file.

I then want GIFBUILDER to draw text_input using font_file at size 
font_size. The text_input is easy, but I can't get font_file and 
font_size to work.

<--- snip --->
emp.15 = IMAGE
temp.15.file = GIFBUILDER
temp.15.file {
   XY = 350,200
   backColor = #ffddf0
   200 = TEXT
   200 {
     text.data = GPVar:text_to_display
     fontSize = GPVar:font_size
     fontFile = GPVar:font_file
...
..
<--- snip --->

Any help gratefully received.

Dan








More information about the TYPO3-dev mailing list