source: branches/version-2_11-dev/data/module/fpdf/tutorial/tuto7.php @ 20993

Revision 20993, 259 bytes checked in by Seasoft, 13 years ago (diff)

#1374 (依存ライブラリのアップデート)

  • FPDF 1.6 -> 1.7
  • FPDI 1.4 -> 1.4.1 (配置パスをFPDFから分離)
Line 
1<?php
2define('FPDF_FONTPATH','.');
3require('../fpdf.php');
4
5$pdf = new FPDF();
6$pdf->AddFont('Calligrapher','','calligra.php');
7$pdf->AddPage();
8$pdf->SetFont('Calligrapher','',35);
9$pdf->Cell(0,10,'Enjoy new fonts with FPDF!');
10$pdf->Output();
11?>
Note: See TracBrowser for help on using the repository browser.