Bug #39625
closedwrong imagesize in gifbuilder
100%
Description
Hi,
gifbuilder generates a wrong imagesize if a TEXT or BOX is unset by a if clause.
Take an image with a text element rendered by a gifbuilder.
Set the height of the image (XY) to the height of the image by using the calc+ function ( [10.h] ).
Now the image has same height as the text.
But if you remove the text with an if clause, the text is gone but the height of the image is wrong.
Please see example below:
page.10 = IMAGE
page.10 {
file = GIFBUILDER
file {
format = png
XY = [10.w],[10.h]+[20.h]
backColor = #ffffff
10 = TEXT
10 {
text = first
offset = 0, 72
fontColor = #000000
fontFile = fileadmin/fonts/arial.ttf
fontSize = 100
}
20 = TEXT
20 {
text = second
offset = 0, [10.h]+72
fontColor = #000000
fontFile = fileadmin/default/fonts/LinotypeDidotItalic.ttf
fontSize = 100
if.isTrue.listNum = 3
}
}
}
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13530
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/13530
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/13530
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/13530
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35371
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35371
Updated by Kjeld Schumacher almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset eefbfca5778a731daaf84c300efafeaf4877665e.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed