function PDF($orientation = 'P', $unit = 'mm', $format = 'A4') { PDFTable::PDFTable($orientation, $unit, $format); $this->AddFont('vni_times'); /*$this->AddFont('vni_times', 'B'); $this->AddFont('vni_times', 'I'); $this->AddFont('vni_times', 'BI'); $this->AddFont('vni_helve', 'B');*/ $this->SetAuthor('Pham Minh Dung'); $this->AliasNbPages(); }
function PDF($orientation = 'L', $unit = 'mm', $format = array(215, 330)) { PDFTable::PDFTable($orientation, $unit, $format); $this->SetFont('helvetica'); $this->SetFontSize(5); /*$this->AddFont('vni_times', 'B'); $this->AddFont('vni_times', 'I'); $this->AddFont('vni_times', 'BI'); $this->AddFont('vni_helve', 'B');*/ $this->SetAuthor('Alex'); $this->AliasNbPages(); }