Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
$mpdf=new mPDF('UTF-8','A4','','',15,15,44,15);
$mpdf->SetAutoFont(AUTOFONT_ALL);
$mpdf->SetDisplayMode('fullpage');
$mpdf->SetHTMLFooter( '專用章' );
$mpdf->SetHTMLHeader( '專用章' );
$mpdf->WriteHTML( '專用章', 2 );
$mpdf->Output($fileName,'I');
As you can see, only the chinese in the body is correct,
the header and footer is not correct.
// mPDF 3.0
$e = preg_replace('/[&]/u','&',$e);
$e = preg_replace('/[<]/u','<',$e);
$e = preg_replace('/[>]/u','>',$e);
// mPDF 4.0
$e = preg_replace("/(\xef\xbf\xb0span lang=\"([a-z\-A-Z]{2,5})\"\xef\xbf\xb1)\s+/",' \\1',$e);
$e = preg_replace("/[ ]+(\xef\xbf\xb0\/span\xef\xbf\xb1)/",'\\1 ',$e); // Writes over the page background but behind any other output on page
$os = preg_replace('/\\\\/','\\\\\\\\',$os);
$this->pages[$n] = preg_replace('/(___BACKGROUND___PATTERNS'.date('jY').')/', "\n".$os."\n".'\\1', $this->pages[$n]);1 to 4 of 4