CFDocument PDF rendering issue with japanese

2019-07-27 10:29发布

问题:

Having some issue with Japanese font in cfdocument.

The fonts are correctly coming up but they are being stretched (word wraps not working) and taking up extra space and hence breaking the design in the pdf file.

The HTML content used in cfdocument is rendering correctly, also same is working correctly for Chinese and Korean fonts in the PDF file as well.

Let me know if any more details are needed.

回答1:

The word wrap issue was fixed by adding ColdFusion wrap function.