mpdf.php | |
---|---|
1146 | if (preg_match('/([\-+])aCJK/i',$mode, $m)) { |
1147 | preg_replace('/([\-+])aCJK/i','',$mode); |
1148 | if ($m[1]=='+') { $this->useAdobeCJK = true; } |
10465 | $family='sjis'; |
10466 | $name='KozMinPro-Regular-Acro'; |
10467 | $cw=$this->SJIS_widths; |
mpdf.php | |
---|---|
1146 | if (preg_match('/([\-+])aCJK/i',$mode, $m)) { |
1147 | // bug? preg_replace returns replaced value! |
1148 | //preg_replace('/([\-+])aCJK/i','',$mode); |
1149 | $mode = preg_replace('/([\-+])aCJK/i','',$mode); |
1150 | if ($m[1]=='+') { $this->useAdobeCJK = true; } |
10467 | $family='sjis'; |
10468 | //$name='KozMinPro-Regular-Acro'; |
10469 | $name='KozGoPro-Medium'; |
10470 | $cw=$this->SJIS_widths; |
42行からはCJKをtrueにします。270行からは標準フォントをserifからsans-serifに変更。
config.php | |
---|---|
42 | |
43 | $this->useAdobeCJK = false; // Uses Adobe CJK fonts for CJK languages |
44 | // default TRUE; only set false if you have defined some available fonts that support CJK |
270 | 'BODY' => array( |
271 | 'FONT-FAMILY' => 'serif', |
272 | 'FONT-SIZE' => '11pt', |
config.php | |
---|---|
42 | |
43 | $this->useAdobeCJK = true; // Uses Adobe CJK fonts for CJK languages |
44 | // default TRUE; only set false if you have defined some available fonts that support CJK |
270 | 'BODY' => array( |
271 | 'FONT-FAMILY' => 'sans-serif', |
272 | 'FONT-SIZE' => '11pt', |