Japanese character were displaying blank in pdf file converted using wkhtmltopdf

We can convert the html file to pdf format using tool called wkhtmltopdf.

I have already provided necessary steps to implement in linux server in my previous post.

But the pdf file was not displaying Japanese characters in it.

Fix

Please note that Chinese, Japanese, Korean font was not installed in the server.

yum install wqy-microhei-fonts

Tip : If it still not display the fonts, you may need to update the font cache after installing font.

fc-cache -f -v

 

 

Leave a comment