else
$align = 'R';
+ $txt = parent::unhtmlentities($txt);
// If horizontal scaling was requested, check to see if we're trying to scale
// too much. If so, cut back string first and then scale it.
$maxScaleFactor = 1.4;
$ret = $txt[1];
$txt = $txt[0];
$this->SetXY($xb, $this->h - $yb - $h);
- $txt = parent::unhtmlentities($txt);
+
if ($this->isunicode && $this->encoding != "UTF-8")
$txt = iconv($this->encoding, "UTF-8", $txt);
$this->Cell($w, $h, $txt, $border, 0, $align, $fill, $link, $stretch);