This is how I've done it.
Within a GUI I make a label and fill it with text. Somehow only the first $L shows correctly.
Code: Select all
// Text area
$textd = new Label();
$this->setLineBgs(-118, 4.5, 236, 80);
$this->setLineBgs(-116, 3.5, 232, 78);
$textd->setSize(228, 80);
$textd->setPosition(-114, 2.5, 0);
$textd->enableAutonewline();
$textd->setTextColor("fff");
$textd->setTextSize(2);
$textd->setHalign("left");
$textd->setText($this->contentText);
$this->content->addComponent($textd);