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

Benjamin Mack benni at typo3.org
Fri Jul 25 14:04:25 CEST 2008


Hey Ralf,

yes. SVN is still open for bugfixes :) Can you tell us what you did in 
the patch. or: could you add some comments to your additional code so 
people know what you did?

Ralf Hettinger wrote:
> 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
> 

-- 
greetings,
benni.
-SDG-


More information about the TYPO3-team-core mailing list