Zum Inhalt springen

Probleme mit GIFBUILDER Warning: imagettftext(): Problem ...

Erstellt am 5. Januar 2007 · 1 Antwort · letzte Antwort am 5. Januar 2007

Tags: Bilder, Frage

yonthebeach ·

Hallo,

ich generiere ein Bild auf meiner Site mit dem GIFBUILDER. Das ist mein TS

    CONTENTHEADER = IMAGE
    CONTENTHEADER.file = GIFBUILDER
    CONTENTHEADER.file {
      XY = 555, 75
      backColor=#ffffff
      
      10 = TEXT
      10.text.field = title
      10.fontFile = fileadmin/fonts/micross.ttf
      10.fontSize = 16
      10.fontColor = #222
      10.niceText = 0
      10.offset = 10, 30     
      
      20 = TEXT
      20.text.field = subtitle
      20.fontFile = fileadmin/fonts/micross.ttf
      20.fontSize = 12
      20.fontColor = #222
      20.niceText = 0
      20.offset = 20, 50  
    }

Eigentlich nichts wildes bei. Im Prinzip funktioniert es ja auch, aber ich habe folgendes Problem: Wenn ich zum Beispiel im Subtitle oder Title ein Wort stehen habe wie zum Beispiel "Funktionen", dann wird das ohne Probleme gerendert und als Bild dargestellt.

Wenn ich aber im Title oder Subtitle mehrere Worte habe, zum Beispiel als Subtitle "Eine detaillierte Funktionsübersicht", dann bekomme ich den foglenden Fehler

Warning: imagettftext(): Problem rendering glyph in /var/www/vhosts/frittenspezial.com/httpdocs/t3lib/class.t3lib_stdgraphic.php on line 1035

Warning: imagettftext(): Problem rendering glyph in /var/www/vhosts/frittenspezial.com/httpdocs/t3lib/class.t3lib_stdgraphic.php on line 1035

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/frittenspezial.com/httpdocs/t3lib/class.t3lib_stdgraphic.php:1035) in /var/www/vhosts/frittenspezial.com/httpdocs/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2853

System: TYPO3 4.0.3 auf Linux auf 1&1 vServer

Was ist das? Und vor allem wie kann man das beheben?

gruß
yonthebeach

yonthebeach ·

Gelöst, es lag daran das das Font: Microsoft Sans Serif diese Probleme bereitet hat! Warum auch immer! Ausgetauscht gegen Verdana.ttf und alle läuft.

gruß
yonthebeach