Bug #22399

Gifbuilder using breakWidth/breakSpace: lineHeight depends on rendered text

Added by Harald Glaser over 11 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2010-04-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using breakWidth (and optionally breakSpace), the lineheight depends on the text which is rendered.
So generating 2 multi-line texts with completely identical settings may yield different results, e.g. when only one of the two strings contains characters with descenders (see attached example).
In my opinion, the lineheight for multiline text should not depend on the boundingbox of the given characters, but should depend on the configuration (font face, font size) - that's what we are used to.

(issue imported from #M14033)


Files

gifbuilder_lineheight.gif (6.01 KB) gifbuilder_lineheight.gif Administrator Admin, 2010-04-08 16:05
14033_breakSpaceFixed_trunk.diff (650 Bytes) 14033_breakSpaceFixed_trunk.diff Administrator Admin, 2010-04-19 19:50

Related issues

Related to TYPO3 Core - Feature #20164: Integrate automatic line breaks in GIFBUILDERClosedOliver Hader2009-03-11

Actions

Also available in: Atom PDF