I installed the latest version on a test machine and entered some Chinese in 3rd party module. but when generating PDF, no matter in invoice or other modules, Chinese font are out of the field.
Chinese can be displayed correctly, but not in the right place.
Ji Humphrey,
Thanks for the quick reply.
I have already read this doc before. After changed pdffont to cid0cs, Chinese can be displayed correctly as you can see in the attachment. But numbers are much big and wide.
Is there any setting to adjust number font?
I compared your file and mine, they are exactly same. I enabled the mutilanguage support, download your files and overwrite, selcec Chinese before generate PDF. but no change. My verions is v3.3.1
i am just trying to make Dolibarr work for our chinese office, so far so good, only when i try to print a form ( proposal or order ) to print in simplifid chinese the form messes up, see attachments. I have changed FONTFORPDFto msungstdlight and cid0cs in main.lang,orders.lang and propal.lang but with no better results. Does someone have a good advice for me? i really would like to get Dolibarr working.
Spent some time on that issue and found a temporary fix to get Chinese PDF working on Dolibarr 3.3.1:
. replace the file …\includes\tcpdf\tcpdf.php by the one from the attached zip
. change FONTFORPDF=stsongstdlight to FONTFORPDF=cid0cs in …\langs\zh_CN\main.lang (that’s for simplified Chinese, if you use Traditional Chinese so change the font to cid0ct instead)
Anyway that’s working for me so hopefully it may help you as well.