$pdf = new FPDF('L', 'mm', 'A5'); $pdf->SetFont($imagename[0]["font_certificate"],'',12); $pdf->SetTextColor($r,$g,$b); //set up a page $pdf->AddPage(); if($image_theme !=""){ $pdf->Image(JUri::base()."images/stories/guru/certificates/".$image_theme,-4,-2,110, 150); //$pdf->Cell(0,75,JText::_("GURU_CERTIFICATE_OF_COMPLETION"),0,1,'C'); } else{ $pdf->SetFillColor($rg,$gg,$bg); //$pdf->Cell(0,115,JText::_("GURU_CERTIFICATE_OF_COMPLETION"),0,1,'C',true); } $pdf->Ln(20); $pdf->SetXY(100,50); $pdf->WriteHTML($imagename[0]["templates1"]); $pdf->Output('certificate'.$certificateid.'.pdf','D');
Brak pl znakow prosze o pomoc jestem zielony w tym iprosze mnie zrozumieć będę wdzięczny
problem jest taki ze brak pl znakow w pdf