In Advanced PDF templates, we can use an external font other than the default PDF using the following steps:
- Navigate to Documents > Files > File Cabinet
- Click on the New Folder button.
- Add a Folder Name and Save.
- Go inside the new folder you created and click Add File.
- Do the same for the other TTF files then click on Edit.
- Make sure that the Available Without Login is checked so that the TTF file can be used in the Advanced PDF/HTML Templates.
- Copy the URL in the File record.
- Navigate to the template you are editing and edit the Source Code.
//adding in the header
<link name="SalpicadoSt" type="font" subtype="opentype" src="https://tstdrv2139763.app.netsuite.com/core/media/media.nl?id=2453&c=TSTDRV2139763&h=836e61285282878e511f&_xt=.ttf"
src-bold="https://tstdrv2139763.app.netsuite.com/core/media/media.nl?id=2453&c=TSTDRV2139763&h=836e61285282878e511f&_xt=.ttf" bytes="2" />
//calling the font family
<style type="text/css">* {
<#if .locale == "zh_CN">
font-family:SalpicadoSt;
<#elseif .locale == "zh_TW">
font-family:SalpicadoSt;
<#elseif .locale == "ja_JP">
font-family:SalpicadoSt;
<#elseif .locale == "ko_KR">
font-family:SalpicadoSt;
<#elseif .locale == "th_TH">
font-family:SalpicadoSt;
<#else>
font-family:SalpicadoSt;
</#if>
}