Advanced PDF Template Chinese Characters are not being Rendered Completely in the Printed Form

Here’s the business use case: 

 I. Create an Advanced PDF Template for record type = Sales Order. 

 1. Navigate to Customization > Forms > Advanced PDF/HTML Templates. 

 2. Click Customize on Standard Sales Order PDF/HTML Template. 

 3. Click Source. 

 4. Look for the portion of the HTML code below :In line 23, add hygothic. Note:determined by utilizing an external application (e.g. Notepad++) and paste the source code of the A The line id can be Advanced PDF Template. 

table {     font-family: sans-serif, hygothic;     /*For Chinese, Japanese and Korean font, use this line instead:     font-family: sans-serif;*

 5. Click Save. II. Edit the preferred sales order form and select the Advanced PDF Template created in Step I. 

II. Create a Sales Order Transaction and fill out the mandatory fields. In the Line Item Description key in this Chinese character 銷售訂單. Note: This Chinese character can also be added in the PO# field. Then, click Save. Actual:- Not all of the Chinese characters are getting printed. The reason why some of the Chinese characters are missing in the transaction record print out is because of the font-family for the Chinese characters are not included in the Advanced PDF Template. To resolve this, edit the Advanced PDF Template and add this font-family (STSong, MSung, MHei, HeiseiMin, hygothic,) in line 23. 

 1. Navigate to Customization > Forms > Advanced PDF/HTML Templates. 

 2. Edit the Sales Order PDF/HTML Template (Created in Step I) 

 3. Click Source. 

 4. Look for the portion of the HTML code below. In line 23, add hygothic.

table {      font-family: STSong, MSung, MHei, HeiseiMin, hygothic, san-serif;      /*For Chinese, Japanese and Korean font, use this line instead:      font-family: hygothic, sans-serif;*/

5. Click Save. The Chinese characters should now be complete on the transaction print out.

Leave a comment

Your email address will not be published. Required fields are marked *