Adding Fonts for Languages that Use Symbols

For languages that use symbols, such as Arabic, values in columns (POS, Quality, and so on) of Advanced PDF/HTML email attachments can appear empty. NetSuite views the symbols as missing fonts, and therefore leaves the fields blank. To have these symbols or fonts appear, users affected by this must customize standard templates based on language or currency.

If a document is printed as an attachment, then it is printed using the customer locale and the number format is determined by currency (for example EGP for Egypt). In the Arabic example, Eastern Arabic symbols are used for digits. Because the email attachment is printed based on locale, you must add the missing font into your template.

To add font support to the template, you can link the font by including this line in the <head> section:

<link name="NotoSansArabic" type="font" subtype="opentype" src="${nsfont}" src-bold="${nsfont}" bytes="2" />

Use the font as the last option in style.

For example, change this line:

font-family: NotoSans, sans-serif;

Change the line to the following:

font-family: NotoSans, sans-serif, NotoSansArabic;

Leave a comment

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