Habe ein Problem....
Und zwar baue ich mir hiermit schaltflächen für mein menu zusammen:
IFSUB {
wrap = |
#button grösse
XY = [50.w]+79, 67
#Schriftfarbe
backColor = #ffffff
50 = TEXT
50 {
text.field = title
fontSize = 12
fontFile = fileadmin/template/main/res/verdana.ttf
#Menu Hintergrundfarbe Default
fontColor = #00903b
#offset wert zum text positionieren
offset = 40,36
#offset = -[50.w] + 90,36
niceText = 1
}
komischerweise nimmt typo3 als fontColor Background und umgekehrt. So wie es im code beschrieben ist.
Wie stelle ich es an das die Schrift auf transparenten Hintergrund steht?
fontColor = transparent geht nicht.
Gruß und vielen Dank für die Hilfe
MAIN = HMENU
MAIN.1 = GMENU
MAIN.1.NO = 1
MAIN.1.NO {
XY = 60,28
transparentBackground = 1
wrap = <td width="60" height="28"><div id="main"> | </div></td><td class="pile" width="10"></td>
10 = TEXT
10.text.field = title
10.fontColor = #222
10.fontFile = fileadmin/static/verdanab.ttf
10.fontSize = 12
10.align = center
10.offset = 0,20
10.niceText = 0
ATagParams = class="mainMenu"
}
Das Problem mit den vertauschten Ebenen liegt, soweit ich weiß, an ImageMagick bzw. an seiner Version und den Einstellung unter Install.
Überprüfe das einmal unter "Install", wo Du auch die Grafikengines testen kannst.
So richtig einstellen lässt es sich schwer. Wenn Du niceText = 0 setzt, verschwindet das Problem.
Super es lag wirklich an Nicetext 1
wrap = |
#button grösse
XY = [50.w]+79, 67
#Schriftfarbe
transparentBackground = 1
#backColor = #ffffff
50 = TEXT
50 {
text.field = title
fontSize = 12
#fontFile = fileadmin/template/main/res/verdana.ttf
fontFile = fileadmin/static/verdanab.ttf
#Menu Hintergrundfarbe Default
# fontColor = #00903b
fontColor = #ffffff
#offset wert zum text positionieren
offset = 40,36
#offset = -[50.w] + 90,36
niceText = 0
http://www.sci.cnc-elite.de/index.php?id=36
warum aber ist die Schrift so pixelig?
Weil mit NiceText die Schrift nicht mehr pixelig aussehen würde, da NiceText die Kantenglättung/Antialiasing ist.