226
VIEWS
It went more smoothly than I expected.
Procedure
- Copy the contents of the fpdf folder created when you extract the mbfpdf archive
into the FPDF folder. (Check as you go to make sure you do not overwrite anything…) - Change the beginning of fpdf_tpl.php as follows.
require_once(“mbfpdf.php”);
class FPDF_TPL extends MBFPDF {
- Call AddMBFont and SetFont. Example:
$pdf->AddMBFont(MINCHO ,’SJIS’);
$pdf->SetFont(MINCHO,’’,9);
That’s all.
By the way, Mr. Obayashi seemed to want to do this on Windows, so I did a quick Google search and found something called the Bambalam PHP Compiler/Encoder. It looks usable.
