Bug #22675

Gifbuilder: .spacing breaks linebreaking

Added by Renzo Lauper almost 9 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2010-05-18
Due date:
% Done:

0%

TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

History

#1 Updated by Alexander Opitz almost 6 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)?

#2 Updated by Renzo Lauper almost 6 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.

#3 Updated by Alexander Opitz almost 6 years ago

  • Status changed from Needs Feedback to New

#4 Updated by Mathias Schreiber about 4 years ago

  • Target version set to 7.2 (Frontend)
  • Is Regression set to No

#5 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

#6 Updated by Riccardo De Contardi over 3 years ago

still present in both 6.2.14 and 7.4-dev (latest master)

#7 Updated by Susanne Moog over 3 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#8 Updated by Benni Mack over 3 years ago

  • Target version changed from 7.5 to 7 LTS

#9 Updated by Mathias Schreiber over 3 years ago

  • Target version deleted (7 LTS)

#10 Updated by Riccardo De Contardi over 3 years ago

  • Category set to Image Cropping

#11 Updated by Susanne Moog over 1 year ago

  • Category changed from Image Cropping to Image Generation / GIFBUILDER

Also available in: Atom PDF