BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
I wonder when should I use the CJK fonts? |
If you use Chinese, Japanese or Korean languages, you can use CJK fonts. |
Is there any way to embed the font into the PDF file for better compatibility? |
It is not necessary to embed the CJK fonts in to the PDF document, since adobe itself having the standard CJK fonts in built. If you want to embed the true type fonts, then you need to set true for Unicode parameter while using PdfTrueTypeFont. Code Snippet: PdfFont font1 = new PdfTrueTypeFont(new Font("Arial", 14f), true); |
However the CJK font output is still messy at displaying English text |
It is not recommended to use CJK fonts for English characters. Also make sure that the CJK packages are installed properly in your machine. Try installing the adobe reader multilingual package http://www.adobe.com/support/downloads/detail.jsp?ftpID=5507 |