[TYPO3-core] RFC: Bugfix #7452: GIFBUILDER: wrong bounding box calculation with TEXT and spacing

Ralf Hettinger ng at ralfhettinger.de
Fri Feb 8 01:05:54 CET 2008


This is a SVN patch request.

Bugtracker references: http://bugs.typo3.org/view.php?id=7452

Branches: trunk only

Problem:
This issue is somehow mentioned in TSRef GIFBUILDER's section
GIFBUILDER.(GBObj).TEXT and concerns the parameter spacing. TSRef states for
spacing: "Pixel-distance between letters. This may render ugly!"
Indeed it will render especially ugly, if you have antialiasing (ie upscaling
and downscaling again) applied to the TEXT object by niceText or antialiasing
properties to GIFBUILDER.(GBObj).TEXT.
It will as render even more "ugly" if you rely on correct determination of the
image width when using [.w] in XY of the whole GIFBUILDER object, with ugly
meaning that the resulting "bounding" box of the TEXT object will be generally
to small.

Solution:
Applied patch solves the problem.

Notes:
The SVN is still open for bugfixes - am I correct? Thanks for clarification.

Ralf Hettinger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7452_trunk.patch
Type: text/x-patch
Size: 922 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080208/663e3ee2/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7452_tsref_wiki.txt
Type: text/tab-separated-values
Size: 202 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080208/663e3ee2/attachment.tsv 


More information about the TYPO3-team-core mailing list