How to use mPDF for Chinese Language

后端 未结 2 1567
太阳男子
太阳男子 2021-01-13 08:15

I am using mPDF to save form input data to PDF. For English, it is working fine. Anyone can use this code to save HTML Form data to PDF.

Issue: In order to fulfill m

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-13 08:47

    Do not use 'c' as a $mode parameter, that means PDF core fonts only and they do not support chinese characters.

    Try '+aCJK' or '-aCJK' instead.

    See example – files using chinese font.

提交回复
热议问题