Project

General

Profile

Actions

Bug #22675

closed

Gifbuilder: .spacing breaks linebreaking

Added by Renzo Lauper over 14 years ago. Updated over 2 years ago.

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

0%

Estimated time:
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)

Actions #1

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)?

Actions #2

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.

Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to New
Actions #4

Updated by Mathias Schreiber almost 10 years ago

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

Updated by Benni Mack over 9 years ago

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

Updated by Riccardo De Contardi over 9 years ago

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

Actions #7

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #8

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #9

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (7 LTS)
Actions #10

Updated by Riccardo De Contardi about 9 years ago

  • Category set to Image Cropping
Actions #11

Updated by Susanne Moog about 7 years ago

  • Category changed from Image Cropping to Image Generation / GIFBUILDER
Actions #12

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.

Actions

Also available in: Atom PDF