überschreibst du die Funktion $this->text nicht mit einem Text bei der Zuweisung?
Nachtrag:
Dein Beispiel war net wirklich gut 
Denn 1. ist ne menge unnötiges bei, daher es konzentriert sich nicht auf das Problem, zum anderen Funktionierts so net mal 
habs mal angepasst wenn auch nicht “optimiert”
[code]<?php
class MakeImage {
//…
public function __construct($text, $size, $angle = 0, $color = array(0,0,0)) {
$this->text = $text;
$this->size = $size;
$this->angle = $angle;
$d = $this->_dimensions(); //Punkte etc berechnen
$this->img = imagecreate(4 + $d[0], 4 + $d[1]);
imagecolorallocatealpha($this->img, 255, 255, 255, 127);
$this->color = imagecolorallocate($this->img, $color[0], $color[1], $color[2]);
$this->font = ‘arial.ttf’;
$this->_text($d[0], $d[1]);
$this->_text(30, 30);
}
public function output() {
header(‘Content-Type: image/png’);
imagepng($this->img);
}
private function _dimensions() {
return array(300,300);
}
private function _text($x, $y) {
imagettftext($this->img, $this->size, $this->angle, $x, $y, $this->color, $this->font, $this->text);
}
}
// $p = array(‘Name’ => ‘Named’, ‘Vorname’ => ‘Cédric’);
$img = new MakeImage(‘René Schümann’,
12,
90,
array(
0,
0,
0
));
$img->output();
?>[/code]
Jedenfalls… auf bplaced lässt sich dein Problem reproduzieren…
Auf nem eigenen Server der ebenfalls das neuste PHP sowie Debian einsetzt, geht es jedoch ohne Probleme, Font natürlich jeweils 1zu1 die selbe.
ultimateteamspeak.de/other/white … roblem.php
Will ungern sagen das es an bplaced liegt… aber anders kann ichs mir net erklären
[size=85](hatten wir sowas net schonmal? Da aber mit Schrägem Text?)[/size]