function Text($x, $y, $txt)
{
// Output a string
if ($this->unifontSubset) {
$txt2 = '(' . $this->_escape($this->UTF8ToUTF16BE($txt, false)) . ')';
foreach ($this->UTF8StringToArray($txt) as $uni) {
$this->CurrentFont['subset'][$uni] = $uni;
}
} else {
$txt2 = '(' . $this->_escape($txt) . ')';
}
$s = sprintf('BT %.2F %.2F Td %s Tj ET', $x * $this->k, ($this->h - $y) * $this->k, $txt2);
if ($this->underline && $txt != '') {
$s .= ' ' . $this->_dounderline($x, $y, $txt);
}
if ($this->ColorFlag) {
$s = 'q ' . $this->TextColor . ' ' . $s . ' Q';
}
$this->_out($s);
}