0
내가 작업했던 코드가 있습니다TCPDF 글꼴 간격
$pdf = new TCPDF('L', 'In', 'LETTER', true);
$pdf->SetPrintHeader(false);
$pdf->SetPrintFooter(false);
$pdf->SetFont('Times','B',11);
$pdf->AddPage();
$pdf->SetLeftMargin(0.5);
$pdf->SetLineWidth(.04);
$pdf->Rect(.5, .5, 10, 7.5);
$pdf->SetLineWidth(.01);
$pdf->Rect(.55, .55, 9.89, 7.39);
$pdf->setFont('Times', 'BI', 31);
$pdf->SetXY(0.5,0.9);
$pdf->Cell(9.75, 0.5, 'Certificate of Completion',0,1,'C');
$pdf->setFont('Helvetica', 'B', 11);
$pdf->SetXY(0.5,1.75);
$pdf->Cell(9.75, 0.2, 'Course Work or Training in Infection Control',0,1,'C');
$pdf->Cell(9.75, 0.2, 'Approved by', 0, 1, 'C');
$pdf->Cell(9.75, 0.2, 'The New York State Department of Health &', 0, 1, 'C');
$pdf->Cell(9.75, 0.2, 'The New York State Department of Education', 0, 1, 'C');
지금 출력은 다음과 같습니다
$pdf->setFontSpacing(100);
:
나는이 추가 시도를
하지만 스크립트를 실행하지 못했습니다.
무엇이 잘못 되었나요?