Bug #22675
closedGifbuilder: .spacing breaks linebreaking
0%
Description
Adding .spacing to a Gifbuilder text object breaks the linebreaking. If I remove the "10.spacing = 1" line from the code below, the text breaks nicely but as soon as it is added, no line breaking happens anymore. The same happens without .breakWidth and .breakSpace when the linebreak is added in the header text itself.
It seems the code used for adding the spacing between letters doesn't include any page breaking logic.
TypoScript example:
temp.header1 = IMAGE
temp.header1.file = GIFBUILDER
temp.header1.file {
XY = [10.w]+3,[10.h]+10
backColor = #ffffff
transparentBackground = 1
10 = TEXT
10.text.data = field:header
10.fontColor = #000000
10.fontSize = 33
10.fontFile = fileadmin/template/American.ttf
10.spacing = 1
10.breakWidth = 360
10.breakSpace = 1.2
10.offset = 0,25
10.niceText = 0
10.antiAlias = 1
}
(issue imported from #M14419)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Renzo Lauper over 11 years ago
I have just tested the above code in the current LTS version (4.5.26). The problem remains: Removing the line "10.spacing = 1" lets the text break correctly but with this line no linebreak happens at all.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to New
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.2 (Frontend)
- Is Regression set to No
Updated by Benni Mack over 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Riccardo De Contardi over 9 years ago
still present in both 6.2.14 and 7.4-dev (latest master)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Riccardo De Contardi about 9 years ago
- Category set to Image Cropping
Updated by Susanne Moog about 7 years ago
- Category changed from Image Cropping to Image Generation / GIFBUILDER
Updated by Christian Kuhn over 2 years ago
- Status changed from New to Rejected
Hey.
I hope nobody hurts me if I close this issue: I guess this one is actually still valid, but considering the fact that nobody really took care within 12 years seems to show that no-one is really seeing pressure to fix it and willing to invest time on it.
Additionally, the gifbuilder is nowadays a sparse use - menus are generated with css and gifbuilder is mostly restricted to add stuff like watermarks to images and things like that.
As such, I'll take the freedom to close here.
In case anyone still wants and needs a fix on this, a patch with a new ticket is of course always welcome.