Project

General

Profile

Actions

Bug #22675

closed

Gifbuilder: .spacing breaks linebreaking

Added by Renzo Lauper almost 14 years ago. Updated about 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

Also available in: Atom PDF