|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Gifbuilder first charactor in h1Hi
I'm trying to make a graphically h1 header on a page. I of course using Gifbuilder but I have a problem that I don't know how to solve I need to change the font of the first letter and change the spacing between the first and sekund letter. Right now my typoscript is working, but I dont know how I can change the first letter.. My typoscript: lib.gfxheader = TEXT lib.gfxheader.current=1 lib.gfxheader.wrap = | lib.gfxheader.split { token.char = 32 cObjNum = 1 1 = COA 1 { 10 = IMAGE 10.alttext.data = page:title 10.titleText.data = page:title 10.file = GIFBUILDER 10.file { backColor = #ffffff XY = [10.w]+10, 35 10 = TEXT 10.spacing = 2 10.iterations = 2 10.text.current = 1 10.fontFile = fileadmin/templates/fonts/hlul.ttf 10.fontSize = 28 10.fontColor = #909189 10.niceText = 0 10.antiAlias = 1 10.offset = 0,28 } } } -- Med venlig hilsen / best regard Rene Gulager TYPO3 konsulent Net Image A/S Strandvejen 20 9000 Aalborg Danmark Tlf: +45 70 26 26 14 http://www.netimage.dk _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1Hi!
Rene Gulager wrote: > I'm trying to make a graphically h1 header on a page. I of course using > Gifbuilder but I have a problem that I don't know how to solve That's the third identical message. Please, send only one, not three. -- Dmitry Dulepov TYPO3 Core team More about TYPO3: http://typo3bloke.net/ Subscribe: http://typo3bloke.net/rss.xml Latest article: http://typo3bloke.net/post-details/extension_updates_loginusertrack_and_comments/ _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1Rene Gulager schrieb:
> Hi > I'm trying to make a graphically h1 header on a page. I of course using > Gifbuilder but I have a problem that I don't know how to solve > > I need to change the font of the first letter and change the spacing > between the first and sekund letter. > > Right now my typoscript is working, but I dont know how I can change the > first letter.. > > My typoscript: > > lib.gfxheader = TEXT > lib.gfxheader.current=1 > lib.gfxheader.wrap = | > lib.gfxheader.split { > token.char = 32 > cObjNum = 1 > 1 = COA > 1 { > 10 = IMAGE > 10.alttext.data = page:title > 10.titleText.data = page:title > > 10.file = GIFBUILDER > 10.file { > backColor = #ffffff > XY = [10.w]+10, 35 > 10 = TEXT > 10.spacing = 2 > 10.iterations = 2 > 10.text.current = 1 > 10.fontFile = fileadmin/templates/fonts/hlul.ttf > 10.fontSize = 28 > 10.fontColor = #909189 > 10.niceText = 0 > 10.antiAlias = 1 > 10.offset = 0,28 > } > } > } > as i understand, you want to use 2 different fonts in the same GIF right?? you have to do something like this: ...... 10.file = GIFBUILDER 10.file { XY = [10.w]+2+[20.w]+1,24 10 = TEXT 10.text.current = 1 10.text.listNum.splitChar= | 10.text.listNum=0 10.fontColor = #7C848D 10.fontFile = path to font / font-1.ttf 10.niceText = 1 10.offset = 0,16 10.fontSize = 14 10.spacing = ... 20 = TEXT 20.text.current = 1 20.text.listNum.splitChar= | 20.text.listNum=1 20.fontColor = #4C7BA7 20.fontFile = path to font / font-2.ttf 20.niceText = 1 20.offset = [10.w]+1,16 20.fontSize = 14 } be sure to add | between the first letter and the second letter like this: L|ETTER hope that help. Regards Aji _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1On Wed, 2008-07-23 at 15:35 +0300, Dmitry Dulepov [typo3] wrote:
> Hi! > > Rene Gulager wrote: > > I'm trying to make a graphically h1 header on a page. I of course using > > Gifbuilder but I have a problem that I don't know how to solve > > That's the third identical message. Please, send only one, not three. > Hi Dmitry Sorry about that, I just received a message from the mailserver that the mail could not be delivered. -- Med venlig hilsen Rene Gulager TYPO3 konsulent Net Image A/S Strandvejen 20 9000 Aalborg Danmark Tlf: +45 70 26 26 14 http://www.netimage.dk _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1Rene Gulager schrieb:
> On Wed, 2008-07-23 at 15:35 +0300, Dmitry Dulepov [typo3] wrote: >> Hi! >> >> Rene Gulager wrote: >>> I'm trying to make a graphically h1 header on a page. I of course using >>> Gifbuilder but I have a problem that I don't know how to solve >> That's the third identical message. Please, send only one, not three. >> > Hi Dmitry > > Sorry about that, I just received a message from the mailserver that the mail could not be delivered. Hi, yes right, i get those messages often when i post a mail. :) regards Aji _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1Hi Aji
The | after the first letter is not an option the editors would forget it most of the time. On Wed, 2008-07-23 at 14:58 +0200, Aji Yahya wrote: > Rene Gulager schrieb: > > Hi > > I'm trying to make a graphically h1 header on a page. I of course using > > Gifbuilder but I have a problem that I don't know how to solve > > > > I need to change the font of the first letter and change the spacing > > between the first and sekund letter. > > > > Right now my typoscript is working, but I dont know how I can change the > > first letter.. > > > > My typoscript: > > > > lib.gfxheader = TEXT > > lib.gfxheader.current=1 > > lib.gfxheader.wrap = | > > lib.gfxheader.split { > > token.char = 32 > > cObjNum = 1 > > 1 = COA > > 1 { > > 10 = IMAGE > > 10.alttext.data = page:title > > 10.titleText.data = page:title > > > > 10.file = GIFBUILDER > > 10.file { > > backColor = #ffffff > > XY = [10.w]+10, 35 > > 10 = TEXT > > 10.spacing = 2 > > 10.iterations = 2 > > 10.text.current = 1 > > 10.fontFile = fileadmin/templates/fonts/hlul.ttf > > 10.fontSize = 28 > > 10.fontColor = #909189 > > 10.niceText = 0 > > 10.antiAlias = 1 > > 10.offset = 0,28 > > } > > } > > } > > > Hello Rene, > > as i understand, you want to use 2 different fonts in the same GIF right?? > > you have to do something like this: > > ...... > 10.file = GIFBUILDER > 10.file { > XY = [10.w]+2+[20.w]+1,24 > 10 = TEXT > 10.text.current = 1 > 10.text.listNum.splitChar= | > 10.text.listNum=0 > 10.fontColor = #7C848D > 10.fontFile = path to font / font-1.ttf > 10.niceText = 1 > 10.offset = 0,16 > 10.fontSize = 14 > 10.spacing = ... > 20 = TEXT > 20.text.current = 1 > 20.text.listNum.splitChar= | > 20.text.listNum=1 > 20.fontColor = #4C7BA7 > 20.fontFile = path to font / font-2.ttf > 20.niceText = 1 > 20.offset = [10.w]+1,16 > 20.fontSize = 14 > > } > > be sure to add | between the first letter and the second letter like this: > L|ETTER > > hope that help. > > Regards > Aji > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@... > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english > Med venlig hilsen Rene Gulager TYPO3 konsulent Net Image A/S Strandvejen 20 9000 Aalborg Danmark Tlf: +45 70 26 26 14 http://www.netimage.dk _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1> Hi Aji
> The | after the first letter is not an option the editors would forget > it most of the time. Then what about writing a PHP function that returns the first character and then the rest and use it as input parameter for the GIFBUILDER? Though I think I read once something about substring in TS... -- Xavier Perseguers http://xavier.perseguers.ch/en/tutorials/typo3.html _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1Xavier Perseguers wrote:
>> Hi Aji >> The | after the first letter is not an option the editors would forget >> it most of the time. > > Then what about writing a PHP function that returns the first character > and then the rest and use it as input parameter for the GIFBUILDER? > > Though I think I read once something about substring in TS... Yes : # Remove the last trailing "&" sign. stdWrap.substring = 0,-1 http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/ -- Xavier Perseguers http://xavier.perseguers.ch/en/tutorials/typo3.html _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h110.text is a stdWrap [1].
stdWrap has substring which might help you achieve what you want. Go play! Tomas Mrozek [1] - http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/ _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
|
|
Re: Gifbuilder first charactor in h1Hi Tomas
Hmm well that is actually pretty obvious. I guess that somtimes you just need someone to point out the simplest thing. THANKS it solved my problem and saved my day On Wed, 2008-07-23 at 15:25 +0200, Tomas Mrozek wrote: > 10.text is a stdWrap [1]. > stdWrap has substring which might help you achieve what you want. > > Go play! > > Tomas Mrozek > > [1] - > http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/1/ > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@... > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english > Med venlig hilsen Rene Gulager TYPO3 konsulent Net Image A/S Strandvejen 20 9000 Aalborg Danmark Tlf: +45 70 26 26 14 http://www.netimage.dk _______________________________________________ TYPO3-english mailing list TYPO3-english@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english |
| Free Forum Powered by Nabble | Forum Help |