function AddSJISFont($family='SJIS')
{
//Add SJIS font with proportional Latin
$name='KozMinPro-Regular-Acro';
$cw=$GLOBALS['SJIS_widths'];
$CMap='90msp-RKSJ-H';
$registry=array('ordering'=>'Japan1','supplement'=>2);
$this->AddCIDFonts($family,$name,$cw,$CMap,$registry);
}
以下、フォント指定用
function AddSJISFont($font='MSMincho',$family='SJIS')
{
//Add SJIS font with proportional Latin
$name=$font;
$cw=$GLOBALS['SJIS_widths'];
$CMap='90msp-RKSJ-H';
$registry=array('ordering'=>'Japan1','supplement'=>2);
$this->AddCIDFonts($family,$name,$cw,$CMap,$registry);
}