Bug #24890
closedGifbuilder using text with angle attribute results in strange alignment effects
0%
Description
I have used Gibuilder for some years now to generate a graphic menu on a page, after updating the core to Version 4.5.0 rotated text becomes strangely misaligned and offsets are no longer behaving as before (see attached picture). Every single Character aligns on the left side, resulting in a strange camel-case-sort of look.
The setup for the Text in question is:
40 = TEXT
40 {
text.field = title
fontSize = 15
text.case = lower
angle = 90
fontFile=fileadmin/templates/fonts/eurostile.ttf
niceText = 1
offset = 12,112
fontColor = {$projectMenuFontColor}
}
Up until now this worked as expected, after the update is does not.
Text which is not rotated works as expected, so I worked around the problem by inserting a Gifbuilder effect before the text, rotating the gifbuilder object by 90 degrees, and a Gifbuilder Effect after the text rotating it back (270 degrees). This works, but is everything but beautiful.
Possibly this is related to Issue #0014033
PHP-Version 5.2.13
Typo3-Version 4.5.0
(issue imported from #M17403)
Files
Updated by Jo Hasenau almost 14 years ago
The same setup works as expected in my local testing environment.
So could it be that you updated not just the TYPO3 version but some other packages of the system as well?
There are known bugs in some of the freetype libraries that lead to some trouble for some clients of us. After moving their site to our server everything worked fine.
As far as I remember it was freetype 2.4.4 but there might be other versions with the same bug.
Updated by Jo Hasenau almost 14 years ago
BTW: Even if you didn't update the packages at the same time as your system, they might still be the reason for the bug, since the old and working images were taken from cache, while the new ones had to be rendered again.
Updated by Leo Bossmann almost 14 years ago
This thought also occured to me, but I have moved around this page several times between servers, and I do always clean out caches when I do core upgrades, this has never been a problem. Strangeā¦
BTW, I'm currently using freetype 2.4.3. I'm gonna google the issue, maybe I find out more. Thanks so far!
Updated by Leo Bossmann almost 14 years ago
Tried it now on a different Server with freetype 2.2.1 and it works flawlessly, so no bug here.
Thanks again for the help!