• Resolved manesvenom

    (@manesvenom)


    Hi,

    Great plugin indeed.
    Refer to the previous thread Convert Chinese to PDF I have tried to open dk-pdf / includes / dkpdf-functions.php and remove /* in line 145 and */ in line 150.

    If the page contains Traditional Chinese “中國”, the PDF could not show the “國” probably. If it is Simplify Chinese 中国, the PDF can show “国” without any problem.

    Thanks.

    • This topic was modified 7 years ago by manesvenom.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter manesvenom

    (@manesvenom)

    I just solved the issue. The useAdobeCJF set to false, and go to mpdf fonts and download Sun-ExtA.ttf and
    Sun-ExtB.ttf. Then put it to ttfonts folder.

    // make chinese characters work in the pdf
    $mpdf->useAdobeCJK = false;
    $mpdf->autoScriptToLang = true;
    $mpdf->autoLangToFont = true;

    frank_hsu

    (@frank_hsu)

    Yes, it works.
    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Traditional Chinese not display probably’ is closed to new replies.