[Typo3] gifbuilder, splitchar, two lines
Torsten Schrade
schrade at lineara.de
Mon May 16 07:44:59 CEST 2005
Ralf mertes wrote:
> Hi list
>
> graphical pageheader
> first line: Prof. Dr. xxxx
> second line: yyyyyyy
>
> following setup won't split the lines with the backspace
> tomatoes on my eyes ?
>
> setup
>
> head = IMAGE
> head.file = GIFBUILDER
> head.file {
> XY = 432,55
> 10 = TEXT
>
> 10.text.data = leveltitle:3
> 10.text.case = upper
>
> 10.fontFile = fileadmin/fonts/verdana.ttf
> 10.fontSize = 18
> 10.fontColor = #990066
> 10.offset = 0, 18
> 10.text.listNum = 0
> 10.text.listNum.splitChar = 10
> 10.niceText = 1
>
> 20 < .10
> 20.fontSize = 30
> 20.fontColor = #990066
> 20.text.listNum = last
> 20.offset = 0,50
>
> }
>
>
> Greetings Ralf
Hi Ralf,
this happens because "10" is the ASCII value for a line-feed character,
which you normaly produce by pressing enter. As you are using the
pagetitle, you want to split the string with a normal-space character
that has the character value "32" in a latin1-charset.
So just change your TS to
10.text.listNum.splitChar = 32
and it will work.
Greets,
Torsten
More information about the TYPO3-english
mailing list