How to create an Advanced PDF Template in other languages?

Solution

Step 1

Enable Advanced PDF/HTML Template from ‘Enable Features’.

Step 2

Download that font family from google-fonts and place the .ttf file in NetSuite’s file cabinet. Separate files will be available for regular, bold, italic and bold-italic fonts. You can refer then all in you pdf.

Step 3

Copy the link of that file from file cabinet and refer that file in you advanced pdf.

Step 4

Use ‘link’ tag to refer that font-family in you pdf layout in ‘head’ tag. After this you can use Arabic font anywhere in you pdf.

Here is the piece of snippet to that.

<link name=”arabic” type=”font” subtype=”opentype” src=”FONT_URL” src-italic=”ITALIC_FONT_URL” src-bold=”BOLD_FONT_URL” srcbolditalic=”BOLDITALIC_FONT_HERE” bytes=”2″ />

Leave a comment

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