• Resolved motherofdragons

    (@motherofdragons)


    ?hello,

    I am a user in china.

    and most contents in post? are chinese.

    why I generator a post.

    the chinese words can’t be converted.

    how can I make DK supporting chinese?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dinamiko

    (@dinamiko)

    Hi motherofdragons,

    open dk-pdf / includes / dkpdf-functions.php and remove /* in line 145 and */ in line 150.

    this is block of code I commented, you’ve to uncomment it removing /* and */

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

    try uncomment it and let me know if it works, thanks.

    • This reply was modified 8 years ago by dinamiko.
    Thread Starter motherofdragons

    (@motherofdragons)

    .let me have a look.thank you

    Thread Starter motherofdragons

    (@motherofdragons)

    very nice。good job!
    it works in chinese!
    thanks!

    Plugin Author dinamiko

    (@dinamiko)

    Hi motherofdragons,

    Good to know that it worked for chinese language, I’m going to mark this ticket as resolved, feel free to reopen it at any time or create a new one.

    Thanks,
    Emili

    • This reply was modified 7 years, 11 months ago by dinamiko.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘convert chinese to pdf?’ is closed to new replies.