[TYPO3] gmenu, splitchar, xy-offset
Sebastian Fuchs
sebastian at hexerei.net
Mon May 29 19:30:14 CEST 2006
Hi,
sorry for replying so late.
after a lot of testing and debugging i finally found the problem....
so just to finalize this thread:
JoH wrote:
>
> What do you mean by "overlaid lines"?
what i meant was, that the two lines where starting on the same xy
coordinates. this resulted in gifs that were not readable anymore.
>
> Here's one that is done exatcly the way I described it for the header field
> of tt_content:
> http://sachs-sachs.cmsbox.de/index.php?id=8
>
> And this is the GIFBUILDER TEXT part of the TS-Setup for this headline:
>
> mask = GIFBUILDER
> mask {
> format = png
> XY = [10.w]+10,[10.h]+10
> backColor = #000000
> 10 = TEXT
> 10 {
> text.field = header
> fontSize = 40
> fontFile = fileadmin/fonts/DiTT.TTF
> fontColor = #ffffff
> niceText = 1
> niceText.sharpen = 1
> offset = 0,40
> }
> }
>
> As you can see, there is nothing special in it.
your (working) example showed that it was not a typo3 or grafics-library
problem, but a fault in my configuration.
so after testing and crying over and over finally i found out that this
behaviour occured only with my fancy font files :( arrggg
disabling the fontFile Tag renders beautiful grafics.
I will test it with different font files.
Any idea what could cause this strange behaviour?
Or does anybody know where to look (for debugging) in the source-code
for the linebreaking feature?
> All linebreaks are rendered automatically using TYPO3 3.8.1, GDlib2,
> Freetype2, GM 1.1.2
> If this is not the case with your headlines the problem must be somewhere
> else.
>
finally one more question:
when typo3 renders the linebreaks automatically, there still must be a
point to set the rendering offset BETWEEN these two lines?
anyways thanks for your input, joey.
bye
sebastian
More information about the TYPO3-english
mailing list