[TYPO3-english] GIFBUILDER: No maxWidth for vertical text
Florian Seirer
florian.seirer at tirol.gv.at
Wed Aug 25 12:21:03 CEST 2010
Hi list!
There is already an option to limit the width of horizontal text
(maxWidth) which decreases the font size accordingly, but this does not
apply to vertical text (angle = 90 or 270).
Example from the extension imgmenu:
plugin.tx_imgmenu_pi1.general {
navImage = GIFBUILDER
navImage {
XY = [10.w],[10.h]
format = jpg
10 = IMAGE
10.file.import = uploads/media/
10.file.import.field = media
10.file.import.listNum = 0
10.file.width.stdWrap.data = register:imgmenu_imgWidth
10.file.height.stdWrap.data = register:imgmenu_imgHeight
10.file.ext = jpg
10.file.params = -quality 100
20 = TEXT
20.text.data = field:title
20.offset = 40,[10.h]-10
20.angle = 0
20.fontSize = 40
20.maxWidth = 150
20.fontColor = #FFFFFF
30 = TEXT
30.text.data = field:abstract
30.offset = 60,[10.h]-10
30.angle = 90
30.fontSize = 40
30.maxwidth = 150
30.fontColor = #FFFFFF
}
}
Is there another way to do this or should I write a bug report/feature
request in the bugtracker?
Regards,
Florian
More information about the TYPO3-english
mailing list