Setting a Template to Use a Font Unavailable in NetSuite
If you want to print using a font or language that is not available in NetSuite, you can edit the template to do this.
- Load the .TTF font file into NetSuite.
- In the template, declare the font as opentype, not truetype.
- Refer to the font in the File Cabinet.
<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head> <link name="thai-font" type="font" subtype="opentype" src="https://<accountID>.app.netsuite.com/core/media/media.nl?id=5967216&c=3809789&h=8609ede0aef4cbfad71d&_xt=.ttf" src-bold="https://<accountID>.app.netsuite.com/core/media/media.nl?id=5967216&c=3809789&h=8609ede0aef4cbfad71d&_xt=.ttf" bytes="2" /> <style type="text/css"> * { font-family: thai-font, sans-serif; font-size: 9pt; table-layout: fixed; } th { font-weight: bold; font-size: 8pt; vertical-align: middle; padding: 5px 6px 3px; background-color: #e3e3e3; color: #333333; } td { padding: 4px 6px; } </style>
</head>
<body> ThisกexampleขhasฃwordsคseparatedฅbyฆThaiงcharacters.
</body>
</pdf>