Support » Plugin: DK PDF » Traditional Chinese not display probably

  • 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 1 year, 11 months ago by manesvenom.
Viewing 2 replies - 1 through 2 (of 2 total)
  • 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;

    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.