================================================================
    Multi-Byte FPDFi{Ήj̃CXg[  by. Katsuhiro OHASHI
================================================================

PjFPDF  download
	http://www.fpdf.org/  download  v1.53 _E[hB
	fpdf153.zip Ƃt@CB

Qj{}jA
	łɓy[W{}jA(ver.1.52) _E[hB
	doc152-html-ja.zip Ƃt@CB
	 doc152-html-ja/  fpdf153 ̒ doc/ ƂȂׂăRs[Ƃ悢B

Rj{ font
	ȉ{tHg_E[hB
	http://www.geocities.jp/rui_hirokawa/php/pdf/mbfpdf10b.zip
	𓀂 fpdf/ ƂtH_[ł̂ŁA̓e fpdf153/
	̓e֏㏑Bœ{ PDF 悤ɂȂB

SjPHP ̏Tv
	 SJIS  EUC ɂΉĂȂBphp t@C SJIS ŏB
	
<?php

require('mbfpdf.php');

// EUC-JP->SJIS ϊIɍsȂ킹ꍇ mbfpdf.php  $EUC2SJIS 
// true ɏC邩Â悤Ɏs true ɐݒ肵ĂϊĂ܂B
//$GLOBALS['EUC2SJIS'] = true;

///////////////////////////////////
// ̃t@C S-JIS ŋLq //
///////////////////////////////////

$leftMargin = 30;
$width = 150;
$textHeight = 15;

$pdf=new MBFPDF('P', 'mm', 'A4');
$pdf->AddMBFont(KOZMIN ,'SJIS');
$pdf->AddMBFont(GOTHIC ,'SJIS');
$pdf->AddMBFont(BIG5, 'SJIS');
$pdf->Open();
$pdf->AddPage();

// greetings
$pdf->SetXY($leftMargin, 20);
$pdf->SetFont(GOTHIC,'B',20);
$pdf->Write($textHeight, 'GOTHIC: ʒu邵AWJ₽x');

// name
$pdf->SetXY($leftMargin, 40);
$pdf->SetFont(KOZMIN,'B',30);
$pdf->Cell($width, $textHeight,'KOZMIN: ˖', 1, 0, 'C');

// address
$pdf->SetXY($leftMargin, 60);
$pdf->SetFont(BIG5,'', 30);
$pdf->Write($textHeight, 'BIG5: v');

$pdf->Output();

?>


